# Juno pyplot doesn't fit 'Plots' window

**URL:** https://discourse.julialang.org/t/juno-pyplot-doesnt-fit-plots-window/31938
**Category:** Juno
**Tags:** question, plotting
**Created:** [December 6, 2019, 6:14pm UTC](https://discourse.julialang.org/t/juno-pyplot-doesnt-fit-plots-window/31938 "2019-12-06T18:14:34Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![sergii](https://avatars.discourse-cdn.com/v4/letter/s/ad7895/32.png) [@sergii](https://discourse.julialang.org/u/sergii)
#### Post date: [December 6, 2019, 6:14pm UTC](https://discourse.julialang.org/t/juno-pyplot-doesnt-fit-plots-window/31938/1 "2019-12-06T18:14:34Z")

</div>

Please see this screenshot.

 ![image](https://global.discourse-cdn.com/julialang/original/3X/5/7/579a8691a48b1edb2045178bcb5c0b4ee3158d46.png)

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](http://docs.junolab.org/latest/man/basic_usage/#The-Plots.jl-Ecosystem-1).

Atom version 1.41.0 x64 running on MacOS Mojave 10.14.6.

---

<div class="post-metadata">

### Author: ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)
#### Post date: [December 6, 2019, 8:54pm UTC](https://discourse.julialang.org/t/juno-pyplot-doesnt-fit-plots-window/31938/3 "2019-12-06T20:54:42Z")

</div>

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](https://github.com/JuliaPlots/Plots.jl/issues/new) (and ping me there) after making sure both Juno and Plots.jl are up to date.
