pypi pyvista 0.25.1
VTK 9 Support and PyQt5 Refactor

latest releases: 0.32.1, 0.32.0, 0.31.3...
3 years ago

Release 0.25.1

It's been three months since the last release and there are quite a few bug fixes and features!

Major API Changes

  • Moved BackgroundPlotter and QtInteractor to pyvistaqt. See #719 for the reasoning, but as a summary, this boils down to licensing, unit testing, and improved development. See pyvistaqt to test out the new module. Wheels will be released for that as soon as we've released wheels for pyvista==0.25.0 as it's a dependency.
  • Added better support for VTKv9. There were several changes under the hood to VTK's UnstructuredGrids that need to be implemented here, as well as many changes to our unit testing and CI to support Python 3.8 and VTKv9. See #732, #772, and #693.
  • When using PyVista with Sphinx-Gallery, we require you to set pyvista.BUILDING_GALLERY = True in your conf.py

Features

  • Removing cells or faces (#653)
  • Progress bar using tqdm (#608)
  • Plotting floors (#424)
  • Additional geometry features (#449)
  • Subplot groups (#696)
  • Custom orientation widget (#702)

Bug Fixes

  • Checking vectors when setting vectors #763
  • Check overwriting dataset to avoid segfault #738
  • Fix faulthandler (#694 and #645)
  • Implicit point setters (#769)
  • Ellipsoid wrapping (#705)

CI Improvements

  • Unit testing is between 25-40% faster. MacOS testing no supports multiple testing processes using pytest-xdist. See #739 and #744
  • Improved code coverage #745 and #709
  • Removed all example downloading from unit testing. Greatly improves test stability (#731)
  • Various speedups (#661)

Refactoring

  • Removed untested pyansys quality method.
  • Using underscore numpy types (#762)
  • Optimized imports (#743)
  • Line break consistent (#737)
  • Use new style super() calls (#741)
  • Generic load/save (#736)
  • Refactored active scalars/vectors (#746)
  • Better error types (#759)
  • And many many more...

Contributors

Thanks to all those who contributed to this release! In no particular order:

Don't miss a new pyvista release

NewReleases is sending notifications on new releases.