# Blank plots from Gadfly in Juno

**URL:** <https://discourse.julialang.org/t/blank-plots-from-gadfly-in-juno/39975>\
**Category:** Visualization\
**Tags:** juno\
**Created:** [May 22, 2020, 3:31pm UTC](https://discourse.julialang.org/t/blank-plots-from-gadfly-in-juno/39975 "2020-05-22T15:31:19Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Mattriks](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mattriks/32/351_2.png) [@Mattriks](https://discourse.julialang.org/u/Mattriks)\
**Post date:** [May 28, 2020, 10:03pm UTC](https://discourse.julialang.org/t/blank-plots-from-gadfly-in-juno/39975/8 "2020-05-28T22:03:46Z")

</div>

For Gadfly:

> [@Can I choose display software?](https://discourse.julialang.org/t/can-i-choose-display-software/29510/3):
>
> Welcome to the Julia community! It can be done by overriding [this function](https://github.com/GiovineItalia/Gadfly.jl/blob/aa4855ca7d113e31a51389edbfdd87cff15a60a2/src/Gadfly.jl#L1016-L1034) like so: using Compose, Gadfly function Gadfly.display(d::Gadfly.GadflyDisplay, p::Union{Plot,Compose.Context}) display(d, Gadfly.default\_mime(), p) return end Then a test: set\_default\_plot\_format(:svg) plot(x=1:10, y=rand(10), Geom.point) import Cairo set\_default\_plot\_format(:pdf) plot(x=1:10, y=rand(10), Geom.point) The plot will open in whatever your default program for svg, pdf is.

---

_[View the full topic](https://discourse.julialang.org/t/blank-plots-from-gadfly-in-juno/39975)._
