Plotter
- class compas_plotters.Plotter(*args, **kwargs)[source]
Bases:
object
Plotter for the visualization of COMPAS geometry.
- Parameters
view (tuple, optional) – The area of the axes that should be zoomed into view. Default is
([-10, 10], [-3, 10])
.figsize (tuple, optional) – The size of the figure in inches. Default is
(8, 5)
Attributes
artists
list of
compas_plotters.artists.PlotterArtist
axes
Returns the axes subplot matplotlib object.
bgcolor
Returns the background color.
canvas
Returns the canvas of the figure instance.
figure
Returns the matplotlib figure instance.
fontsize
title
Returns the title of the plot.
viewbox
The area of the axes that is zoomed into view.
Methods
Add a COMPAS geometry object or data structure to the plot.
Add a COMPAS geometry object or data structure using a specific artist type.
Add multiple COMPAS geometry objects and/or data structures from a list.
Draw all objects included in the plot.
Find a geometry object or data structure in the plot.
Method for decorating callback functions in dynamic plots.
Pause plotting during the specified interval.
Updates and pauses the plot.
Register a listener for pick events.
Saves the plot to a file.
Displays the plot.
Zoom the view to the bounding box of all objects.