Releases: pyvista/pyvista
v0.44.0: NumPy 2.0 Support and Upcoming VTK 9.4 Preparation
Highlights
- Ensure compatibility with NumPy 2.0
- Method Resolution Order compatibility for upcoming VTK 9.4 #5650 (preparation work to ensure some minimum level of compatibility with upcoming changes to VTK)
- Add Image Source module to create example images.
What's Changed
Breaking Changes
- Add parallel_projection and parallel_scale to Theme; make
camera
setting a first class_ThemeConfig
by @MatthewFlamm in #5624 - Ensure no overlap with crinkle clip by @banesullivan in #6060
- Fix active normals for properties
point_normals
,cell_normals
, and methodplot_normals
withsmooth_shading
by @user27182 in #6062
New Features
- Scale array for points gaussian by @kmarchais in #4366
- Add Paraview-like 2D interactor style by @MatthewFlamm in #5336
- Inherit
XdmfReader
class fromTimeReader
to improve time properties by @tkoyama010 in #5332 - Add
outline_opacity
toadd_plane_widget
by @tkoyama010 in #5354 - Add
from_irregular_faces
toPolyData
by @darikg in #5375 - Add
font_family
param toadd_legend
function by @tkoyama010 in #5396 - Add Victorian Goblet face illusion example by @tkoyama010 in #5403
- Add italic and bold property to
TextPropery
by @tkoyama010 in #5408 - Add text justification option to
add_point_labels
by @tkoyama010 in #5407 - Trame Plotter UI: Menu positioning by @annehaley in #5429
- Add custom trackball style and refactoring
enable_2d_style
by @MatthewFlamm in #5428 - Allow computing number of cell vertices in
compute_cell_sizes
by @MatthewFlamm in #5474 - Add support to
meshio
'spolyhedronX
cell types by @keurfonluu in #5369 - Fix EnSight reader time set selection by @advktEntnschdl in #5492
- Update CellArray to use ImportLegacyFormat by @darikg in #5495
- Add
background_opacity
argument toadd_legend
by @tkoyama010 in #5509 - Add
CubeSource
algorithm class to represent cube by @tkoyama010 in #5526 - Add
DiscSource
algorithm class to represent disc by @tkoyama010 in #5531 - Add
LineSource
algorithm class to represent line by @tkoyama010 in #5534 - Add
SphereSource
algorithm class to represent sphere by @tkoyama010 in #5535 - Add
PolygonSource
algorithm class of polygon by @tkoyama010 in #5539 - Add
PlatonicSolidSource
platonic solid algorithm by @tkoyama010 in #5547 - Add
PlaneSource
to add plane algorithm source by @tkoyama010 in #5562 - Add the
camera3d_widget
allow to move the camera by @tkoyama010 in #5577 - Legend improvements by @germa89 in #3015
- Add
compute_boundary_cell_quality
DataSet method by @tkoyama010 in #5595 - Add
BoxSource
to add box algorithm source by @tkoyama010 in #5620 - Add
ArrowSource
to add arrow algorithm source by @tkoyama010 in #5622 - Add
SuperquadricSource
to add arrow algorithm by @tkoyama010 in #5648 - Add
get_charts
method toRenderer
by @kmarchais in #5656 - Add
point_dtype
toCube
andCubeSource
class by @tkoyama010 in #5676 - Add capsule geometry use vtkCapsuleSource and vtkCylinderSource with
SetCapsuleCap
by @kmarchais in #5655 - Add
add_box_axes
to avoid complexity of add_axes by @tkoyama010 in #5605 - Add bounds to view methods on renderer by @MattTheCuber in #5730
- Allow setting and getting string scalar field data by @user27182 in #5747
- Add
Renderer
viewport
setter to control layout by @tkoyama010 in #5773 - Allow reading DICOM stack from directory with
pv.read()
by @user27182 in #5776 - Add
resolve
property toDataSetMapper
class by @tkoyama010 in #5781 - Allow users to specify Trame Jupyter Mode in environment variable by @annehaley in #5798
- Add composite dataset
PartitionedDataSet
class by @tkoyama010 in #5833 - Add partition reader
XMLPartitionedDataSetReader
by @tkoyama010 in #5873 - Add CT image whole body segmentation dataset by @user27182 in #5910
- Add UNISIM-II-D reservoir model reservoir dataset by @user27182 in #5902
- Trame UI: add parallel projection toggle by @banesullivan in #5882
- Add
user_dict
property toDataSet
objects for storing user-specified data by @user27182 in #5933 - Add
sigmoid_15
andsigmoid_20
opacity transfer functions by @user27182 in #5944 - Add Fluent CFF Reader
FLUENTCFFReader
class by @tkoyama010 in #5953 - Add
clamping
option toto_opacity_tf
method by @tkoyama010 in #5975 - Add
extract_values
filter and updateconnectivity
filter to use it by @user27182 in #5963 - Add color mode option to
glyph
method of DataSet by @tkoyama010 in #5985 - Add
download_headsq
to download headsq dataset by @tkoyama010 in #5990 - Add
ImageEllipsoidSource
to create ellipsoid img by @tkoyama010 in #5987 - Add
ImageMandelbrotSource
to create Mandelbrot by @tkoyama010 in #5996 - Add
ImageNoiseSource
to create noise image by @tkoyama010 in #5999 - Add
ImageSinusoidSource
to create sinusoidal img by @tkoyama010 in #6000 - Add
ImageGaussianSource
of image with Gaussian by @tkoyama010 in #6004 - Add
GambitReader
reads dataset in Fluent GAMBIT by @tkoyama010 in #6026 - Add ASCII gaussian cube data
GaussianCubeReader
by @tkoyama010 in #5967 - Add
MINCImageReader
NetCDF-based img file format by @tkoyama010 in #6041 - Update
extract_values
API and add newsplit_values
filter by @user27182 in #6001 - Add
PDBReader
class read Molecular Data files by @tkoyama010 in #6038 - Add
GESignaReader
class read GE Signa ximg files by @tkoyama010 in #6043 - Allow clearing cell and point data for all blocks by @tkoyama010 in #6046
- Allow
Plotter
class to imports 3D Studio files by @tkoyama010 in #6054 - Add
pad_image
filter generating closed surfaces by @user27182 in #6051 - Allow
Plotter
class to imports obj files by @tkoyama010 in #6068 - vtkContourTriangulator: fill polyline contours by @banesullivan in #6059
- Add support write polygonal data to Houdini file by @tkoyama010 in #6085
- Add
scale
argument toPlotter.add_ruler
method by @tkoyama010 in #6096 - Add
ParticleReader
to read particle data by @tkoyama010 in #6040 - Add
points_to_cells
andcells_to_points
ImageDataFilters by @user27182 in #6071 - Add support save polygonal data to obj file by @tkoyama010 in #6111
- Add support save polygonal data to OpenInventor by @tkoyama010 in #6113
- Add
ProStarReader
to read unstructured grid data by @tkoyama010 in #6120 - Add
seed
param toImageNoiseSource
and update default values by @user27182 in #6170 - Add
origin
andlength
toProp3D
and add details to docstrings by @user27182 in #6194 - Add
labels
property toAxesActor
for convenience by @user27182 in #6231 - Geographic north arrow orientation marker by @banesullivan in #6070
- Add `protein_ribbons...
v0.43.10
Patch release with the following fixes/quality of life changes. This being a patch fix, there are no API changes.
What's Changed
- Fix
cast_to_unstructured_grid
forPointSet
by @user27182 #6127 - Use
matplotlib.pyplot.get_cmap
for matplotlib>3.8 by @tkoyama010 #6163 - Fix typo of
add_orientation_widget
docstring by @tkoyama010 #6174 - Fix
image_threshold
bug with integer arrays on some systems by @user27182 #6100 - Ensure compatibility with NumPy 2.0 by @adeak #6156
- Fix
add_ruler number_labels
to turn off the auto by @MatthewFlamm #6258
Full Changelog: v0.43.9...v0.43.10
v0.43.9
Patch release with the following fixes/quality of life changes. This being a patch fix, there are no API changes.
What's Changed
"PyQt6-Qt6!=6.6.0,!=6.7.0" "PyQt6!=6.6.0"
to fix PyVistaQt and MNE-Python integration tests by @tkoyama010 #6182- Temporarily restrict NumPy version in pyproject.toml by @adeak #6210
Full Changelog: v0.43.8...v0.43.9
v0.43.8
Patch release with the following fixes/quality of life changes. This being a patch fix, there are no API changes.
What's Changed
- Ensure no overlap with crinkle clip by @banesullivan #6060
- Fix active normals for properties
point_normals
,cell_normals
, and methodplot_normals
withsmooth_shading
by @user27182 #6062 - Add missing
load
parameter to some example downloads by @tkoyama010 #6078
Full Changelog: v0.43.7...v0.43.8
v0.43.7
Patch release with the following fixes/quality of life changes. This being a patch fix, there are no API changes.
What's Changed
- Use n_points to calculate distance in CircularArc @tkoyama010 #6025
Full Changelog: v0.43.6...v0.43.7
v0.43.6
Patch release with the following fixes/quality of life changes. This being a patch fix, there are no API changes.
What's Changed
PyQt6!=6.6.2
to fix PyVistaQt and MNE-Python integration tests @tkoyama010 #5641PyQt6!=6.6.3
to fix PyVistaQt and MNE-Python integration tests @tkoyama010 #5860- Fix missed ray traces in
multi_ray_trace
when origin points are outside bounding box @Keou0007 #5957 - Update trame-vtk to 2.8.6 @ChristosT #5959
PyQt6!=6.7.0
to fix PyVistaQt and MNE-Python integration tests @tkoyama010 #5978
Full Changelog: v0.43.5...v0.43.6
v0.43.5
Patch release with the following fixes/quality of life changes. This being a patch fix, there are no API changes.
What's Changed
- Fix Actor error of prop argument in initialization by @tkoyama010 #5782
- Fix axes labels on show_grid with all_edges by @kmarchais #5857
Full Changelog: v0.43.4...v0.43.5
v0.43.4
Patch release with the following fixes/quality of life changes. This being a patch fix, there are no API changes.
What's Changed
- Fix precision bug with
translate
for geometric objects by @user27182 #5609 - Fix
axes_ranges
parameter inplotter.show_bounds
by @kmarchais #5670 - Fix
pv.Rectangle
for small numbers by @MatthewFlamm #5735 - Fix temporary rendering before properties applied by @tkoyama010 #5759
Full Changelog: v0.43.3...v0.43.4
v0.43.3
- Fix plotting of ambiguous cell data: set preference based on actual field association by @MatthewFlamm #5484
- Fix the error of radius arg type in
ConeSource
by @tkoyama010 #5561 - Fix ImageData error when using spacing and extent by @tkoyama010 #5569
Full Changelog: v0.43.2...v0.43.3
v0.43.2
Patch release with the following fixes/quality of life changes. This being a patch fix, there are no API changes.
What's Changed
- Call
Off
method when clear widgets by @tkoyama010 #5359 - Fix incorrect
PolyData.ray_trace
result if intersection is the origin by @darikg #5373 - Fix
edge_opacity
is not used inadd_mesh
by @tkoyama010 #5380 - Fix
create_axes_orientation_box
unused argument by @tkoyama010 #5382 - Pin GeoVista integration test
CARTOPY_FEATURE
to stable release by @user27182 #5452 - [patch] vtkRedistributeDataSetFilter ImportError by @banesullivan #5467
Full Changelog: v0.43.1...v0.43.2