pypi pyvista 0.29.0
Under the hood changes for VTK9

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

This minor release of pyvista==0.29.0 includes a variety of changes and new features. The most major is improving our load-time by only loading in the VTK libraries used through lazy loading or selective imports using `vtkmodules``. It was quite an overhaul and should improve load time, reduce memory usage, and potentially the size of the frozen package.

Other new features and bug-fixes include:

New Features

  • add subdivision option to extract_surface (#1174)
  • Add a silhouette parameter to add_mesh (#1211)
  • add new colors (#1173)
  • Add pickle support to DataObject (#1143)
  • Add where_is in BasePlotter (#1175)
  • Create an explicit structured grid (#1133)

Documentation

  • Fix and update some sphinx docs (#1149)
  • 📝 Add new function to geometric.rst (#1170)
  • Update what-is-a-mesh.rst (#1176)
  • Fix docstring in add_point_labels (#1188)

API Changes

  • Improve PolyData Import (#1213)
  • Use vtkTransformFilter in DataSet.transform() (#1166)
  • Improve Exodus Reader (#1191)
  • Add bounds in reset_camera (#1161)
  • Add option to hide plane widget vector (#1150)
  • add origin kwarg to plotter.add_legend (#1153)
  • Expose start_xvfb (#1151)
  • Add render=True in add_point_labels (#1152)
  • add transforms3d (#1142)

Bug Fixes

  • Fix the "reset camera" effect when parallel projection is enabled/disabled (#1221)
  • Wrap pyvista_ndarray (#1222)
  • Fix vtk not defined (#1217)
  • plot_over_line should fail if scalar name does not exist (#1214)
  • Fix labels (#1201)
  • remove faulthandler (#1187)
  • Fix log scale in scalar bar (#1183)
  • Fix bugs in enable_cell_picking (#1158)
  • fix add_actor (#1182)
  • Fix Binary Writer (#1148)
  • Reimplement Light.copy to get around VTK8.1 bug (#1137)
  • Update enable_cell_picking (#1157)
  • Update the active scalar bar when cmap is changed (#1169)
  • Fix scalar bar moving upward (#1171)

Miscellaneous/Testing

  • Minor fix of plot_over_line's test #525 (#1216)
  • common --> dataset (#1209)
  • 🎨 Minor fix of format of the code. (#1199)
  • Fix doctest failure in BasePlotter.where_is (#1192)
  • Use vtkmodules (#1163)
  • Move Common, DataObject to dataset.py, dataobject.py (#1160)
  • Partially add type hints to /core/ (#1145)
  • improve import speed (#1156)

Contributors (alphabetical)

Don't miss a new pyvista release

NewReleases is sending notifications on new releases.