-
Notifications
You must be signed in to change notification settings - Fork 64
better organization of Graphics #64
Copy link
Copy link
Closed
Description
- We will soon have
LineCollectionso we should probably add a class attribute to eachGraphicsubclass which is used byPlotwhen 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?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels