ian
ian10mo ago

mpl interactive size

import numpy as np from matplotlib import pyplot as plt import marimo as mo fig = plt.figure(figsize=(10, 8)) plt.plot(np.arange(50), np.arange(50)) mo.mpl.interactive(fig)
2 Replies
Myles Scolnick
Myles Scolnick10mo ago
@ian , would it be possible to remove figsize=(10, 8)? if this is removed, it fits in the container without overflow i do now have a fix for when including figsize=(10, 8). before i was just using the default plot size
ian
ianOP10mo ago
(10, 8) was arbitrary. More just the idea that I can have an arbitrarily sized fig. E.g. when I display a dataframe with a bunch of rows it can get very long.