# How to set rc setting in PyPlot in Plots

**URL:** https://discourse.julialang.org/t/how-to-set-rc-setting-in-pyplot-in-plots/10466
**Category:** General Usage
**Tags:** plotting
**Created:** [April 21, 2018, 10:37am UTC](https://discourse.julialang.org/t/how-to-set-rc-setting-in-pyplot-in-plots/10466 "2018-04-21T10:37:51Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![paalon](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/paalon/32/5784_2.png) [@paalon](https://discourse.julialang.org/u/paalon)
#### Post date: [April 21, 2018, 10:37am UTC](https://discourse.julialang.org/t/how-to-set-rc-setting-in-pyplot-in-plots/10466/1 "2018-04-21T10:37:51Z")

</div>

I want to set rc in PyPlot in Plots. I can set it like:

```julia
import PyPlot
PyPlot.rc("text", usetex=true)

```

in PyPlot but how can I set it from Plots.jl?

---

<div class="post-metadata">

### Author: ![Philip\_Stuckey](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/philip_stuckey/32/4000_2.png) [@Philip\_Stuckey](https://discourse.julialang.org/u/Philip_Stuckey)
#### Post date: [April 22, 2018, 5:46pm UTC](https://discourse.julialang.org/t/how-to-set-rc-setting-in-pyplot-in-plots/10466/2 "2018-04-22T17:46:40Z")

</div>

Plots has `Plots.default(args...; kwargs...) ` which you can use to set default parameters in plots (Edit: e.g. `Plots.default(title = "hello there")` will set the title of all plots unless you override it).  
If I understand correctly, you’re trying to enable using LaTeX in your figure. you can do this with the `LaTeXStrings` package, string literals that start with L (e.g. `L"e^{i\pi}"`) will be converted to latex. This works with the GTK backend but I haven’t tried it with the pyplot backend.
