weldx.visualization.matplotlib_impl.new_3d_figure_and_axes#

weldx.visualization.matplotlib_impl.new_3d_figure_and_axes(num_subplots=1, height=500, width=500, pixel_per_inch=50)#

Get a matplotlib figure and axes for 3d plots.

Parameters
  • num_subplots (int) – Number of subplots (horizontal)

  • height (int) – Height in pixels

  • width (int) – Width in pixels

  • pixel_per_inch (int) – Defines how many pixels an inch covers. This is only relevant for the fallback method.

Return type

tuple[Figure, Axes]

Returns

  • fig – The matplotlib figure object

  • matplotlib.axes.Axes – The matplotlib axes object