[vis] Replace use of deprecated Matplotlib figbox
@@ -72,8 +72,8 @@ class MatplotlibPlots(PlottingLibrary):
rc('animation', html='html5')
base_axes = tuple(fig.axes)
- positions = {a: (a.figbox.p0, a.figbox.p1) for a in base_axes}
- titles = {a: a.get_title() for a in base_axes}
+ positions = {a: (a.get_subplotspec().get_position(a.figure).p0, a.get_subplotspec().get_position(a.figure).p1) for a in base_axes}
+ # titles = {a: a.get_title() for a in base_axes}
specs = {a: a.get_subplotspec() for a in base_axes}
def clear_and_plot(frame: int):
