before calling Plots.plot() or Plots.heatmap(), etc.
You can set the size to something even larger if you want. I sometimes plot (or heatmap) data from very large arrays. I found that the default format (SVG, I think) resulted in very large notebook files. Setting the format to PNG solved this problem.
{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}
Session expired
Please log in again.
The login page will open in a new tab. After logging in you can close it and return to this page.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok
> Am I missing some obvious hack to make the plots show up larger?
You are probably using an out-dated version for Plots.jl and/or GR.jl.
Thanks for the tip! I’ll see if updating those packages will change anything.
To change the default plot size in a Jupyter notebook, when using Plots.jl with the GR backend, I do this:
Plots.gr(format=:png, size=(768,512), legend=false)
before calling Plots.plot() or Plots.heatmap(), etc.
You can set the size to something even larger if you want. I sometimes plot (or heatmap) data from very large arrays. I found that the default format (SVG, I think) resulted in very large notebook files. Setting the format to PNG solved this problem.
Hope that helps you!
Thank you so much for the tip! It worked!! 🙂 The plots appear much better now.