Skip to main content
Ctrl+K
PyVista 0.44.dev0 documentation - Home PyVista 0.44.dev0 documentation - Home
  • Getting Started
  • User Guide
  • Examples
  • API Reference
  • Extras
  • GitHub
  • Slack Community
  • Support
  • Contributing
  • The Paper
  • Getting Started
  • User Guide
  • Examples
  • API Reference
  • Extras
  • GitHub
  • Slack Community
  • Support
  • Contributing
  • The Paper

Section Navigation

API Reference

  • Core API
  • Plotting
    • Plotting
    • PyVista and PyQt
    • Themes
    • Trame
    • pyvista.Actor
    • pyvista.Axes
    • pyvista.AxesActor
    • pyvista.CameraPosition
    • pyvista.CornerAnnotation
    • pyvista.CubeAxesActor
    • pyvista.DataSetMapper
    • pyvista.LookupTable
    • pyvista.Plotter
      • pyvista.Plotter.add_actor
      • pyvista.Plotter.add_affine_transform_widget
      • pyvista.Plotter.add_arrows
      • pyvista.Plotter.add_axes
      • pyvista.Plotter.add_axes_at_origin
      • pyvista.Plotter.add_background_image
      • pyvista.Plotter.add_blurring
      • pyvista.Plotter.add_bounding_box
      • pyvista.Plotter.add_box_axes
      • pyvista.Plotter.add_box_widget
      • pyvista.Plotter.add_camera3d_widget
      • pyvista.Plotter.add_camera_orientation_widget
      • pyvista.Plotter.add_chart
      • pyvista.Plotter.add_checkbox_button_widget
      • pyvista.Plotter.add_composite
      • pyvista.Plotter.add_cursor
      • pyvista.Plotter.add_floor
      • pyvista.Plotter.add_key_event
      • pyvista.Plotter.add_legend
      • pyvista.Plotter.add_legend_scale
      • pyvista.Plotter.add_light
      • pyvista.Plotter.add_line_widget
      • pyvista.Plotter.add_lines
      • pyvista.Plotter.add_logo_widget
      • pyvista.Plotter.add_measurement_widget
      • pyvista.Plotter.add_mesh
      • pyvista.Plotter.add_mesh_clip_box
      • pyvista.Plotter.add_mesh_clip_plane
      • pyvista.Plotter.add_mesh_isovalue
      • pyvista.Plotter.add_mesh_slice
      • pyvista.Plotter.add_mesh_slice_orthogonal
      • pyvista.Plotter.add_mesh_slice_spline
      • pyvista.Plotter.add_mesh_threshold
      • pyvista.Plotter.add_on_render_callback
      • pyvista.Plotter.add_orientation_widget
      • pyvista.Plotter.add_plane_widget
      • pyvista.Plotter.add_point_labels
      • pyvista.Plotter.add_point_scalar_labels
      • pyvista.Plotter.add_points
      • pyvista.Plotter.add_ruler
      • pyvista.Plotter.add_scalar_bar
      • pyvista.Plotter.add_silhouette
      • pyvista.Plotter.add_slider_widget
      • pyvista.Plotter.add_sphere_widget
      • pyvista.Plotter.add_spline_widget
      • pyvista.Plotter.add_text
      • pyvista.Plotter.add_text_slider_widget
      • pyvista.Plotter.add_timer_event
      • pyvista.Plotter.add_title
      • pyvista.Plotter.add_volume
      • pyvista.Plotter.add_volume_clip_plane
      • pyvista.Plotter.clear
      • pyvista.Plotter.clear_actors
      • pyvista.Plotter.clear_box_widgets
      • pyvista.Plotter.clear_button_widgets
      • pyvista.Plotter.clear_camera3d_widgets
      • pyvista.Plotter.clear_camera_widgets
      • pyvista.Plotter.clear_events_for_key
      • pyvista.Plotter.clear_line_widgets
      • pyvista.Plotter.clear_logo_widgets
      • pyvista.Plotter.clear_measure_widgets
      • pyvista.Plotter.clear_on_render_callbacks
      • pyvista.Plotter.clear_plane_widgets
      • pyvista.Plotter.clear_slider_widgets
      • pyvista.Plotter.clear_sphere_widgets
      • pyvista.Plotter.clear_spline_widgets
      • pyvista.Plotter.close
      • pyvista.Plotter.deep_clean
      • pyvista.Plotter.disable
      • pyvista.Plotter.disable_3_lights
      • pyvista.Plotter.disable_anti_aliasing
      • pyvista.Plotter.disable_depth_of_field
      • pyvista.Plotter.disable_depth_peeling
      • pyvista.Plotter.disable_eye_dome_lighting
      • pyvista.Plotter.disable_hidden_line_removal
      • pyvista.Plotter.disable_parallel_projection
      • pyvista.Plotter.disable_picking
      • pyvista.Plotter.disable_shadows
      • pyvista.Plotter.disable_ssao
      • pyvista.Plotter.disable_stereo_render
      • pyvista.Plotter.enable
      • pyvista.Plotter.enable_2d_style
      • pyvista.Plotter.enable_3_lights
      • pyvista.Plotter.enable_anti_aliasing
      • pyvista.Plotter.enable_block_picking
      • pyvista.Plotter.enable_cell_picking
      • pyvista.Plotter.enable_custom_trackball_style
      • pyvista.Plotter.enable_depth_of_field
      • pyvista.Plotter.enable_depth_peeling
      • pyvista.Plotter.enable_element_picking
      • pyvista.Plotter.enable_eye_dome_lighting
      • pyvista.Plotter.enable_fly_to_right_click
      • pyvista.Plotter.enable_geodesic_picking
      • pyvista.Plotter.enable_hidden_line_removal
      • pyvista.Plotter.enable_horizon_picking
      • pyvista.Plotter.enable_image_style
      • pyvista.Plotter.enable_joystick_actor_style
      • pyvista.Plotter.enable_joystick_style
      • pyvista.Plotter.enable_lightkit
      • pyvista.Plotter.enable_mesh_picking
      • pyvista.Plotter.enable_parallel_projection
      • pyvista.Plotter.enable_path_picking
      • pyvista.Plotter.enable_point_picking
      • pyvista.Plotter.enable_rectangle_picking
      • pyvista.Plotter.enable_rectangle_through_picking
      • pyvista.Plotter.enable_rectangle_visible_picking
      • pyvista.Plotter.enable_rubber_band_2d_style
      • pyvista.Plotter.enable_rubber_band_style
      • pyvista.Plotter.enable_shadows
      • pyvista.Plotter.enable_ssao
      • pyvista.Plotter.enable_stereo_render
      • pyvista.Plotter.enable_surface_point_picking
      • pyvista.Plotter.enable_terrain_style
      • pyvista.Plotter.enable_trackball_actor_style
      • pyvista.Plotter.enable_trackball_style
      • pyvista.Plotter.enable_zoom_style
      • pyvista.Plotter.export_gltf
      • pyvista.Plotter.export_html
      • pyvista.Plotter.export_obj
      • pyvista.Plotter.export_vrml
      • pyvista.Plotter.export_vtksz
      • pyvista.Plotter.fly_to
      • pyvista.Plotter.fly_to_mouse_position
      • pyvista.Plotter.generate_orbital_path
      • pyvista.Plotter.get_default_cam_pos
      • pyvista.Plotter.get_image_depth
      • pyvista.Plotter.get_pick_position
      • pyvista.Plotter.hide_axes
      • pyvista.Plotter.hide_axes_all
      • pyvista.Plotter.image_scale_context
      • pyvista.Plotter.import_gltf
      • pyvista.Plotter.import_vrml
      • pyvista.Plotter.increment_point_size_and_line_width
      • pyvista.Plotter.isometric_view
      • pyvista.Plotter.isometric_view_interactive
      • pyvista.Plotter.key_press_event
      • pyvista.Plotter.left_button_down
      • pyvista.Plotter.link_views
      • pyvista.Plotter.open_gif
      • pyvista.Plotter.open_movie
      • pyvista.Plotter.orbit_on_path
      • pyvista.Plotter.pick_click_position
      • pyvista.Plotter.pick_mouse_position
      • pyvista.Plotter.remove_actor
      • pyvista.Plotter.remove_all_lights
      • pyvista.Plotter.remove_background_image
      • pyvista.Plotter.remove_blurring
      • pyvista.Plotter.remove_bounding_box
      • pyvista.Plotter.remove_bounds_axes
      • pyvista.Plotter.remove_chart
      • pyvista.Plotter.remove_environment_texture
      • pyvista.Plotter.remove_floors
      • pyvista.Plotter.remove_legend
      • pyvista.Plotter.remove_scalar_bar
      • pyvista.Plotter.render
      • pyvista.Plotter.reset_camera
      • pyvista.Plotter.reset_camera_clipping_range
      • pyvista.Plotter.reset_key_events
      • pyvista.Plotter.save_graphic
      • pyvista.Plotter.screenshot
      • pyvista.Plotter.set_background
      • pyvista.Plotter.set_chart_interaction
      • pyvista.Plotter.set_color_cycler
      • pyvista.Plotter.set_environment_texture
      • pyvista.Plotter.set_focus
      • pyvista.Plotter.set_position
      • pyvista.Plotter.set_scale
      • pyvista.Plotter.set_viewup
      • pyvista.Plotter.show
      • pyvista.Plotter.show_axes
      • pyvista.Plotter.show_axes_all
      • pyvista.Plotter.show_bounds
      • pyvista.Plotter.show_grid
      • pyvista.Plotter.store_click_position
      • pyvista.Plotter.store_mouse_position
      • pyvista.Plotter.subplot
      • pyvista.Plotter.track_click_position
      • pyvista.Plotter.track_mouse_position
      • pyvista.Plotter.unlink_views
      • pyvista.Plotter.untrack_click_position
      • pyvista.Plotter.untrack_mouse_position
      • pyvista.Plotter.update
      • pyvista.Plotter.update_bounds_axes
      • pyvista.Plotter.update_coordinates
      • pyvista.Plotter.update_scalar_bar_range
      • pyvista.Plotter.update_scalars
      • pyvista.Plotter.view_isometric
      • pyvista.Plotter.view_vector
      • pyvista.Plotter.view_xy
      • pyvista.Plotter.view_xz
      • pyvista.Plotter.view_yx
      • pyvista.Plotter.view_yz
      • pyvista.Plotter.view_zx
      • pyvista.Plotter.view_zy
      • pyvista.Plotter.where_is
      • pyvista.Plotter.window_size_context
      • pyvista.Plotter.write_frame
      • pyvista.Plotter.zoom_camera
      • pyvista.Plotter.actors
      • pyvista.Plotter.background_color
      • pyvista.Plotter.bounds
      • pyvista.Plotter.camera
      • pyvista.Plotter.camera_position
      • pyvista.Plotter.camera_set
      • pyvista.Plotter.center
      • pyvista.Plotter.click_position
      • pyvista.Plotter.image
      • pyvista.Plotter.image_depth
      • pyvista.Plotter.image_scale
      • pyvista.Plotter.last_update_time
      • pyvista.Plotter.legend
      • pyvista.Plotter.length
      • pyvista.Plotter.meshes
      • pyvista.Plotter.mouse_position
      • pyvista.Plotter.parallel_projection
      • pyvista.Plotter.parallel_scale
      • pyvista.Plotter.pickable_actors
      • pyvista.Plotter.picked_actor
      • pyvista.Plotter.picked_block_index
      • pyvista.Plotter.picked_cell
      • pyvista.Plotter.picked_cells
      • pyvista.Plotter.picked_mesh
      • pyvista.Plotter.picked_point
      • pyvista.Plotter.render_window
      • pyvista.Plotter.renderer
      • pyvista.Plotter.scalar_bar
      • pyvista.Plotter.scalar_bars
      • pyvista.Plotter.scale
      • pyvista.Plotter.shape
      • pyvista.Plotter.suppress_rendering
      • pyvista.Plotter.theme
      • pyvista.Plotter.window_size
    • pyvista.Prop3D
    • pyvista.Property
    • pyvista.Renderer
    • pyvista.RenderWindowInteractor
    • pyvista.Text
    • pyvista.TextProperty
    • pyvista.Timer
    • pyvista.plotting.mapper._BaseMapper
    • pyvista.plotting.opts.InterpolationType
    • pyvista.plotting.opts.RepresentationType
    • pyvista.plotting.opts.ElementType
    • pyvista.plotting.volume.Volume
    • pyvista.plotting.volume_property.VolumeProperty
    • pyvista.CompositePolyDataMapper
    • pyvista.CompositeAttributes
    • pyvista.BlockAttributes
    • Charts
    • pyvista.plotting.widgets.WidgetHelper
    • pyvista.plotting.widgets.AffineWidget3D
    • pyvista.plotting.picking.PickingHelper
    • Convenience Functions
  • Utilities
  • Readers
  • Examples
  • API Reference
  • pyvista.Plotter
  • pyvista.Plot...

pyvista.Plotter.bounds#

property Plotter.bounds: Tuple[int | float, int | float, int | float, int | float, int | float, int | float][source]#

Return the bounds of the active renderer.

Returns:
tuple[numpy.float64, numpy.float64, numpy.float64, numpy.float64, numpy.float64, numpy.float64]

Bounds of the active renderer.

Examples

>>> import pyvista as pv
>>> pl = pv.Plotter()
>>> _ = pl.add_mesh(pv.Cube())
>>> pl.bounds
(-0.5, 0.5, -0.5, 0.5, -0.5, 0.5)
../../../_images/pyvista-Plotter-bounds-1_00_00.png
On this page
  • Plotter.bounds
Edit on GitHub

© Copyright 2017-2024, The PyVista Developers.

Built with the PyData Sphinx Theme 0.15.2.