python-hydro / pyro2

A framework for hydrodynamics explorations and prototyping
https://python-hydro.github.io/pyro2
BSD 3-Clause "New" or "Revised" License
304 stars 124 forks source link

move plotting away from state machine #250

Open zingale opened 2 months ago

zingale commented 2 months ago

Right now, we rely on the state machine interface to matplotlib. We should instead have the simulation class create and store a figure object and then work from that. Then dovis() can be made to return the figure object if we want to interact with it in a notebook.