# Plots.jl: Modify frame thickness

**URL:** https://discourse.julialang.org/t/plots-jl-modify-frame-thickness/24258
**Category:** General Usage
**Tags:** plotting
**Created:** [May 15, 2019, 8:53pm UTC](https://discourse.julialang.org/t/plots-jl-modify-frame-thickness/24258 "2019-05-15T20:53:02Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![MA\_Laforge](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ma_laforge/32/385_2.png) [@MA\_Laforge](https://discourse.julialang.org/u/MA_Laforge)
#### Post date: [April 10, 2021, 9:18pm UTC](https://discourse.julialang.org/t/plots-jl-modify-frame-thickness/24258/4 "2021-04-10T21:18:04Z")

</div>

I haven’t seen anything controlling frame thickness in Plots.jl myself (Not even when I peeked at the GR & PyPlot backend code to add features to the InspectDR backend).

### Workaround 1

Depending on the backend, you can probably change the DPI resolution of your entire plot until you get the desired frame thicknes. Then, you can probably tweak every other setting in Plots.jl (line thickness, font size, …) to get the desired effect.

You can look at this issue if you want leads on how to change these settings:  
 → [Plotting for publications. · Issue #897 · JuliaPlots/Plots.jl · GitHub](https://github.com/JuliaPlots/Plots.jl/issues/897#issue-233928655)

Disadvantages

- Not all backends treat DPI the same way.
- Seems like a roundabout way of doing something simple.

### Workaround 2

Another useful workaround that is applicable whenever Plots.jl doesn’t quite do what you want is to use your backend’s API directly to do the final tweaks:

```julia-auto
p=plot([1,2,3]; title="Test")
pbkend = display(p) #Display to get ref to backend object.

#Change frame thickness here using "pbkend" HERE

```

Disadvantages

- Need backend-specific code to perform the final tweaks.

### I suggest opening an issue

In this case, it seems reasonable to open an issue for a feature request.  
 → [GitHub · Where software is built](https://github.com/JuliaPlots/Plots.jl/issues)

There appear to be at least 3 individuals that want it.

---

_[View the full topic](https://discourse.julialang.org/t/plots-jl-modify-frame-thickness/24258)._
