Skip to content

Latest commit

 

History

History
105 lines (67 loc) · 3.22 KB

CHANGELOG.md

File metadata and controls

105 lines (67 loc) · 3.22 KB

magpylib Changelog

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

Added

  • Changelog

Changed

  • Change Collection.displaySystem() not having the block=False setting for matplotlib's pyplot.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()'s suppress=True kwarg then call pyplot.show() normally.
    • This should cause no API changes, if you have problems please notify us.

Fixed

  • 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 the subplotAx kwarg crashing the application. This functionality now behaves as expected for the use case.

1.1.0b0 - 2019-06-14

Added

  • Implemented one new kwarg for Collection.displaySystem():

    subplotAx=None Draw into a subplot axe that already exists. The subplot needs to be 3D projected

    This 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

    Output: image

Changed

  • 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.

Fixed

  • Added a workaround fix for a rotation bug we are still working on.

1.0.2b0 - 2019-05-29

Added

  • MANIFEST.in file containing the LICENSE for bundling in PyPi

1.0.1b0 - 2019-05-28

Added

  • Issue and Pull Request Templates to Repository
  • Continuous Integration settings (Azure and Appveyor)
  • Code Coverage Reports with codecov

Removed

  • Support for Python 3.5 and under.

1.0.0b0 - 2019-05-21

The first official release of the magpylib library.

Added

  • Source classes:
    • Box
    • Cylinder
    • Sphere
    • Circular Current
    • Current Line
    • Dipole
  • Collection class