Juno pyplot doesn't fit 'Plots' window

Please see this screenshot.

How to make a plot to fit the window ?

It doesn’t happen if I remove pyplot() line or replace it with plotly() .
It is not critical now after I learned to use backends other than pyplot.
However I’d like to point out that the code I used is from the official Juno documentation here.

Atom version 1.41.0 x64 running on MacOS Mojave 10.14.6.

This is presumably only an issue with high-DPI monitors. Some Plots.jl backends seem to deal well with such cases, but pyplot apparently doesn’t.
Do open an issue about this (and ping me there) after making sure both Juno and Plots.jl are up to date.