# Tiny fonts when using GR (Plots or not) in Jupyter

**URL:** <https://discourse.julialang.org/t/tiny-fonts-when-using-gr-plots-or-not-in-jupyter/16085>\
**Category:** Visualization\
**Created:** [October 9, 2018, 5:45pm UTC](https://discourse.julialang.org/t/tiny-fonts-when-using-gr-plots-or-not-in-jupyter/16085 "2018-10-09T17:45:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paulo\_Jabardo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/paulo_jabardo/32/3196_2.png) [@Paulo\_Jabardo](https://discourse.julialang.org/u/Paulo_Jabardo)\
**Post date:** [October 9, 2018, 5:45pm UTC](https://discourse.julialang.org/t/tiny-fonts-when-using-gr-plots-or-not-in-jupyter/16085/1 "2018-10-09T17:45:46Z")

</div>

High guys! A small glitch on GR when plotting in Jupyter is annoying me. When I plot something, the labels on the axes are very small and unreadable. This only happens on Jupyter, using GR directly or through Plots.jl. As an example of what I mean:

```julia
using Plots
gr()

x = 0.0:0.01:2
y = sin.(2π*x)
plot(x, y)

```

The output is:  
 ![sine](https://global.discourse-cdn.com/julialang/original/3X/7/5/755d0348082a26cea75147f633634dcd10f69763.png)

A solution is:

```julia
gr(html_output_format=:png)

```

but it is still kind of annoying.

There is no problem on the REPL.

Julia 1.0.0, generic binaries for linux x86-64 - Ubuntu 18.04

I upgraded all related packages and rebuilt them.

Paulo

> **Summary**
>
> This text will be hidden

---

<div class="post-metadata">

**Author:** ![Paul\_Soderlind](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/paul_soderlind/32/1753_2.png) [@Paul\_Soderlind](https://discourse.julialang.org/u/Paul_Soderlind)\
**Post date:** [October 9, 2018, 6:46pm UTC](https://discourse.julialang.org/t/tiny-fonts-when-using-gr-plots-or-not-in-jupyter/16085/2 "2018-10-09T18:46:13Z")

</div>

Indeed. Please see [Tiny axis labels when using GR with Plots in IJulia · Issue #1746 · JuliaPlots/Plots.jl · GitHub](https://github.com/JuliaPlots/Plots.jl/issues/1746) for earlier reports of this issue.

---

<div class="post-metadata">

**Author:** ![jheinen](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jheinen/32/2787_2.png) [@jheinen](https://discourse.julialang.org/u/jheinen)\
**Post date:** [October 9, 2018, 7:52pm UTC](https://discourse.julialang.org/t/tiny-fonts-when-using-gr-plots-or-not-in-jupyter/16085/3 "2018-10-09T19:52:20Z")

</div>

This problem is specific to Firefox and has been fixed in GR master. I will tag a new version soon …

---

<div class="post-metadata">

**Author:** ![Paulo\_Jabardo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/paulo_jabardo/32/3196_2.png) [@Paulo\_Jabardo](https://discourse.julialang.org/u/Paulo_Jabardo)\
**Post date:** [October 10, 2018, 10:33am UTC](https://discourse.julialang.org/t/tiny-fonts-when-using-gr-plots-or-not-in-jupyter/16085/4 "2018-10-10T10:33:53Z")

</div>

I really found it weird. No mentions on this mailing list? I guess I am one of the few still using Firefox. I should have looked through the issues more thoroughly. Thanks

---

<div class="post-metadata">

**Author:** ![jw3126](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jw3126/32/3086_2.png) [@jw3126](https://discourse.julialang.org/u/jw3126)\
**Post date:** [October 10, 2018, 11:17am UTC](https://discourse.julialang.org/t/tiny-fonts-when-using-gr-plots-or-not-in-jupyter/16085/5 "2018-10-10T11:17:25Z")

</div>

See [Plots.jl tiny plots in jupyter-notebook - #8 by jw3126](https://discourse.julialang.org/t/plots-jl-tiny-plots-in-jupyter-notebook/14770/8)
