All notable changes to magpylib will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.1.1b0 - 2019-06-25
- Changelog
- Change
Collection.displaySystem()
not having theblock=False
setting for matplotlib'spyplot.show()
by default, this meant that outside interactive mode calling this function would hang the script until the plot was closed.- If for some reason you want to block the application, you may still use
Collection.displaySystem()
'ssuppress=True
kwarg then call pyplot.show() normally. - This should cause no API changes, if you have problems please notify us.
- If for some reason you want to block the application, you may still use
- Fix multiprocessing enabled
Collection.getBsweep()
for lots of objects with few positions causing great performance loss. This functionality now behaves as expected for the use case. - Fix
Collection.displaySystem()
's drawing of Dipole objects in external axes (plots) using thesubplotAx
kwarg crashing the application. This functionality now behaves as expected for the use case.
1.1.0b0 - 2019-06-14
-
Implemented one new kwarg for
Collection.displaySystem()
:subplotAx=None
Draw into a subplot axe that already exists. The subplot needs to be 3D projectedThis allows for creating side-by-side plots using displaySystem. Figure information must be set manually in pyplot.figure() in order to not squash the plots upon subplotting.
Click here for Example
Code: https://gist.github.com/lucasgcb/77d55f2fda688e2fb8e1e4a68bb830b8
getBsweep()
for Collections and Sources now always returns a numpy array- Zero-length segments in Line sources now return
[0,0,0]
and a warning, making it easier to draw spirals without letting users do this unaware.
- Added a workaround fix for a rotation bug we are still working on.
1.0.2b0 - 2019-05-29
MANIFEST.in
file containing the LICENSE for bundling in PyPi
1.0.1b0 - 2019-05-28
- Issue and Pull Request Templates to Repository
- Continuous Integration settings (Azure and Appveyor)
- Code Coverage Reports with codecov
- Support for Python 3.5 and under.
1.0.0b0 - 2019-05-21
The first official release of the magpylib library.
- Source classes:
- Box
- Cylinder
- Sphere
- Circular Current
- Current Line
- Dipole
- Collection class