plot_compare_four#
- plot_compare_four(
- data_a,
- data_b,
- data_c,
- data_d,
- display_kwargs=None,
- plotter_kwargs=None,
- show_kwargs=None,
- screenshot=None,
- camera_position=None,
- outline=None,
- outline_color='k',
- labels=('A', 'B', 'C', 'D'),
- link: bool = True,
- notebook=None,
Plot a 2 by 2 comparison of data objects.
- Parameters:
- data_a
pyvista.DataSet The data object to display in the top-left corner.
- data_b
pyvista.DataSet The data object to display in the top-right corner.
- data_c
pyvista.DataSet The data object to display in the bottom-left corner.
- data_d
pyvista.DataSet The data object to display in the bottom-right corner.
- display_kwargs
dict, default:None Additional keyword arguments to pass to the
add_meshmethod.- plotter_kwargs
dict, default:None Additional keyword arguments to pass to the
Plotterconstructor.- show_kwargs
dict, default:None Additional keyword arguments to pass to the
showmethod.- screenshot
str| bool, default:None File name or path to save screenshot of the plot, or
Trueto return a screenshot array.- camera_position
list, default:None The camera position to use in the plot.
- outline
pyvista.DataSet, default:None An outline to plot around the data objects.
- outline_color
str, default: ‘k’ The color of the outline.
- labels
tuple[str,str,str,str], default: (‘A’, ‘B’, ‘C’, ‘D’) The labels to display for each data object.
- linkbool, default:
True If
True, link the views of the subplots.- notebookbool, default:
None If
True, display the plot in a Jupyter notebook.
- data_a
- Returns:
pyvista.PlotterThe plotter object.