# CairoMakie whitespace to right of grid

**URL:** https://discourse.julialang.org/t/cairomakie-whitespace-to-right-of-grid/118150
**Category:** Visualization
**Tags:** makie, cairomakie
**Created:** [August 13, 2024, 5:26pm UTC](https://discourse.julialang.org/t/cairomakie-whitespace-to-right-of-grid/118150 "2024-08-13T17:26:57Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![warnerwarner](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/warnerwarner/32/210444_2.png) [@warnerwarner](https://discourse.julialang.org/u/warnerwarner)
#### Post date: [August 13, 2024, 5:26pm UTC](https://discourse.julialang.org/t/cairomakie-whitespace-to-right-of-grid/118150/1 "2024-08-13T17:26:57Z")

</div>

I’m not sure if this is a CairoMakie problem, or a VS code problem, but whenever I make figures in CairoMakie and then copy them from VS code it adds a patch of whitespace to the right of the plots?

 ![20240813_132538](https://global.discourse-cdn.com/julialang/original/3X/9/5/951b0023e4e328a5902863dbca25b5918bcc0ee8.png)

In VS Code is looks like I’d expect its only when I try and copy from it I get this problem

![image](https://global.discourse-cdn.com/julialang/original/3X/1/1/113483d2a60ce966ee353972b16b0fcaec88a86a.jpeg)

---

<div class="post-metadata">

### Author: ![asinghvi17](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/asinghvi17/32/8272_2.png) [@asinghvi17](https://discourse.julialang.org/u/asinghvi17)
#### Post date: [August 16, 2024, 6:19pm UTC](https://discourse.julialang.org/t/cairomakie-whitespace-to-right-of-grid/118150/2 "2024-08-16T18:19:27Z")

</div>

Is the file natively SVG or PNG? Can you replicate this if you run `CairoMakie.activate!(type=:png)` first?
