Comments (5)
thank you for taking the time to describe your problem ;)
The readthedocs link you provided points to the latest Magpylib main branch version and yet to be released.
The newly added show_context
context manager for coupled subplots is going to be included in the next release (v4.4) very soon. The documentation is still work in progress.
However, if you still want to test this feature you will need to install Magpylib from source:
pip install git+https://github.com/magpylib/magpylib@main
Hope this helps, Alex -
@OrtnerMichael Maybe we should not let the docs/latest point to the main branch, but instead to the latest release (like before), to avoid this kind of misunderstandings?
from magpylib.
Agreed.
Was not even aware that show_context
is already documented :).
from magpylib.
Hi Alex,
thank you for the quick reply and the help. It is indeed a bit confusing as it displays 4.3.0 in left upper corner when it points somewhere else.
I intended to install within my pipenv environment to make this work.
I tried different install command variations, but I kept getting the error when executing the script from my initial question.
Within the active environment:
pip install git+https://github.com/magpylib/magpylib@main
reports no errorspipenv run pip install git+https://github.com/magpylib/magpylib@main
reports no errorspipenv install git+https://github.com/magpylib/magpylib@main
fails asking for a#egg
specification
I hoped to have found a solution, but running
-
pipenv install git+https://github.com/magpylib/magpylib#egg=magpylib
... executed successfully, but the issue remained. -
pipenv install git+https://github.com/magpylib/magpylib#egg=magpylib@main
raises an InstallationError, Invalid requirement: 'magpylib@main'.
I fixed this the quick and dirty way now, by setting up a new environment with virtualenv instead and used the 'pip install ...' command. This works for me.
from magpylib.
@Alexboiboi magpylib docu now has main as standard branch (not latest anymore). This should stop confusions that led to this issue. Thanks @SoundDesignerToBe for pointing it out.
Can we close this issue then ?
from magpylib.
Thank you!
from magpylib.
Related Issues (20)
- bunch of issues to check later HOT 1
- arrow styles for magnetization
- TriangularMesh bad sign HOT 2
- Is there an option to make absolute arrowhead sizes? HOT 3
- Objects with unset dimension or unset excitation should be displayable HOT 1
- `TriangularMesh` cannot be initialized without arguments HOT 1
- TriangularMesh stability
- show Collection magnetization as single magnet when all magnetizations are the same ? HOT 2
- Numerical instability of cylinder_segment HOT 1
- good objects show badly
- showlegend in plotly HOT 6
- Custom Source Bug #1
- CustomSource Bug #2
- Question concerning show_context HOT 2
- Remaining docs work
- Legend color issue HOT 1
- Pyvista legend color problem
- Improving Cuboid numerical stability
- Improving Cylinder numerical stability
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magpylib.