[Feature request]: Extract Compartments.plot
Into A Standalone Function
#349
Labels
gempyor
Concerns the Python core.
low priority
Low priority.
plotting
Relating to plotting and/or visualizations.
Label
gempyor
Priority Label
low priority
Is your feature request related to a problem? Please describe.
Currently the function to plot compartments is attached to the
Compartments
class ingempyor.compartments
. Which bloats the object and isn't core to its logic of parsing and handling compartments/transitions. Lightly related to GH-345.Is your feature request related to a new application, scenario round, pathogen? Please describe.
n/a
Describe the solution you'd like
Create a new function, called
plot_compartments
or similar, that is separate from theCompartments
class and takes a an instance of theCompartments
class. In the future this could be split out into a separate package if desired, but currently should be put into a new module ingempyor
calledviz
or similar. Could also allow us to move thegraphviz
dependency into a separate dependency group.The text was updated successfully, but these errors were encountered: