Closed
Description
- We will soon have
LineCollection
so we should probably add a class attribute to eachGraphic
subclass which is used byPlot
when attaching all the graphic names as methods, since we'd wantplot.line_collection()
rather thanplot.linecollection()
and it maintains pep8 standards - It would be useful for
Subplot.get_graphics()
to return a dict instead of a list, where the keys are the object class.
example:
from fastlotlib.graphics import ImageGraphic
graphics_in_subplot = gp[0, 0].get_graphics()
graphics_in_subplot[ImageGraphic] # list of all `ImageGraphic` graphic instances within the subplot
@clewis7 thoughts?
Metadata
Metadata
Assignees
Labels
No labels