You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The set-nb-cells sub-hook currently adds the statement %config InlineBackend.figure_formats = ['svg'] to the top of each notebook. This is useful if there are matplotlib plots where we want vector graphics. In many cases, though, if you plot something like a pcolormesh with high resolution and are not aware of this config statement, the notebook crashes, because these figures are not suited for vector graphics.
Suggestion
The
set-nb-cells
sub-hook currently adds the statement%config InlineBackend.figure_formats = ['svg']
to the top of each notebook. This is useful if there are matplotlib plots where we want vector graphics. In many cases, though, if you plot something like apcolormesh
with high resolution and are not aware of this config statement, the notebook crashes, because these figures are not suited for vector graphics.Proposed solution
Remove the statement, but check which notebooks of repositories that use the
set-nb-cells
hook do require vector graphics.Repositories
figure_formats = ["svg"]
statement qrules#237figure_formats = ["svg"]
statement ampform#368figure_formats = ["svg"]
statement tensorwaves#507figure_formats = ["svg"]
statement compwa.github.io#221The text was updated successfully, but these errors were encountered: