- Notifications
You must be signed in to change notification settings - Fork575
Releases: pyvista/pyvista
v0.45.2
Compare
Assets2
Uh oh!
There was an error while loading.Please reload this page.
v0.45.1
Compare
See#7508
Full Changelog:v0.45.0...v0.45.1
Assets2
Uh oh!
There was an error while loading.Please reload this page.
v0.45.0
Compare
Highlights
- VTK 9.4.2 is now supported
- Python 3.13 now supported
- Support for Python 3.8 has been dropped
New Filters
- PolyDataFilters.ruled_surface
- PolyDataFilters.decimate_polyline
- PolyDataFilters.flip_faces (replacement for
flip_normals
which is now deprecated) - PolyDataFilters.flip_normal_vectors
- ImageDataFilters.label_connectivity
- ImageDataFilters.resample
- ImageDataFilters.select_values
- ImageDataFilters.contour_labels (replacement for
contour_labeled
which is now deprecated) - DatasetFilters.align_xyz
- DataSetFilters.color_labels
- DataSetFilters.bounding_box
- DataSetFilters.oriented_bounding_box
- DataSetFilters.voxelize_binary_mask
- CompositeFilters.generic_filter
- DataObjectFilters.cell_quality (replacement for
compute_cell_quality
which is now deprecated)
Improved Transformations
- NewTransform class for working with transformation matrices
- UsingDataObjectFilters.transform with
ImageData
now returnsImageData
instead ofStructuredGrid
- TheDataObjectFilters.transform filter is generalized to work with
MultiBlock
meshes - NewDataObjectFilters.rotate filter for rotating meshes
- NewProp3D.rotation_from method for rotating actors
NewMultiBlock
Methods and Properties
- recursive_iterator
- flatten
- nested_block_types
- is_homogeneous
- is_heterogeneous
- as_unstructured_grid_blocks
- is_empty
NewImageData
Properties
New Utilities
- principal_axes for computing best-fit axes
- fit_line_to_points for computing a best-fit line
- cell_quality_info helper to complement the
cell_quality
filter with additional information - vtk_verbosity to control the output from
vtkLogger
- vtk_snake_case to control if PyVista classes can use the new snake case API from VTK 9.4
Documentation Improvements
- New overall look: PyVista now uses theSphinx Book Theme
- New vector graphics and high-resolution versions of thePyVista logo
- Add cell descriptions and examples toCellType
- NewNamed Colors page with new colors from
vtkNamedColors
; similar colors are also now grouped together - Newtags added to examples in the Sphinx Gallery
Plotting Features
- New widgetPlotter.add_radio_button_widget for radio buttons
- New assemblyPlanesAssembly for plotting orthogonal planes
File IO
- New readers for Exodus II, Nek5000, and Grid Eclipse (GRDECL) formats
- Supportread andsave with pickled meshes (
.pkl
).
New Sphinx Gallery Examples
New Downloadable Datasets
- download_biplane
- download_full_head
- download_grasshopper
- download_great_white_shark
- download_grey_nurse_shark
What's Changed
Breaking Changes
- Simplify code for
fit_plane_to_points
, fix crash with many points, fix returned center by@user27182 in#6517 - Add return info to
set_default_active_scalars
andset_default_active_vectors
by@user27182 in#6919 - Make
check_contains
API easier to use and understand by@user27182 in#6939 - Return
ImageData
when transformingImageData
by@user27182 in#6616 - Fix empty input behavior for
extract_values
and remove redundant scalar validation by@user27182 in#7001 - Use 'static_cell' as default for
sample
filter by@MatthewFlamm in#7121 - Load decimated versions of large downloaded datasets by default by@user27182 in#7146
- Use downsampled versions of whole body ct datasets by@user27182 in#7131
- Add parameters to Polydata.triangulate filter by@beroda in#7317
- Prepend pyvista to plot directive configuration options by@akaszynski in#7365
New Features
- Add
Prop3D.rotation_from
method to support arbitrary rotations by@user27182 in#6318 - Add
set_actor_prop
andget_actor_prop
toAxesAssembly
for setting/getting part properties by@user27182 in#6342 - Add extra coordinate specifications in
PlaneSource
by@tkoyama010 in#6372 - Add
relative_position
andProp3D
-like features toLabel
class by@user27182 in#6373 - Add
Prop3DMixin
toAxesAssembly
class by@user27182 in#6389 - Add
OrthogonalPlanesSource
for generating orthogonal planes by@user27182 in#6366 - Add
PlanesAssembly
class adding orthogonal planes to a scene by@user27182 in#6379 - Add
categorical
parameter topoint_data_to_cell_data()
by@nicolascedilnik in#6407 - Replace type alias
BoundsLike
with named tupleBoundsTuple
by@user27182 in h...
Assets2
Uh oh!
There was an error while loading.Please reload this page.
v0.44.2
Compare
Limit VTK<9.4.0
Full Changelog:v0.44.1...v0.44.2
Assets2
Uh oh!
There was an error while loading.Please reload this page.
v0.44.1
Compare
Patch release with the following fixes/quality of life changes. This being a patch fix, there are no API changes.
What's Changed
Full Changelog:v0.44.0...v0.44.1
Assets2
Uh oh!
There was an error while loading.Please reload this page.
v0.44.0: NumPy 2.0 Support and Upcoming VTK 9.4 Preparation
Compare
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...
Assets2
Uh oh!
There was an error while loading.Please reload this page.
v0.43.10
Compare
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
Assets2
Uh oh!
There was an error while loading.Please reload this page.
v0.43.9
Compare
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
Assets2
Uh oh!
There was an error while loading.Please reload this page.
v0.43.8
Compare
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
Assets2
Uh oh!
There was an error while loading.Please reload this page.
v0.43.7
Compare
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
Assets2
Uh oh!
There was an error while loading.Please reload this page.