Open
Description
I tried to make matplotlib responsive by doing this little trick
from js import window
plt.rcParams['figure.figsize'] = [window.innerWidth*window.devicePixelRatio, 6]
plt.rcParams["figure.dpi"] = window.devicePixelRatio
However, it does not work. Interestingly, even if I hardcode figsize, it still does not respect my parameters. What should be done? (the figure is interactive. i.e it has a slider)
Metadata
Metadata
Assignees
Labels
No labels