# Save() with px\_per\_unit rescales display of plot (how to unzoom)

**URL:** <https://discourse.julialang.org/t/save-with-px-per-unit-rescales-display-of-plot-how-to-unzoom/123506>\
**Category:** General Usage\
**Tags:** plotting, glmakie\
**Created:** [December 5, 2024, 4:33pm UTC](https://discourse.julialang.org/t/save-with-px-per-unit-rescales-display-of-plot-how-to-unzoom/123506 "2024-12-05T16:33:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![devel-chm](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/devel-chm/32/3572_2.png) [@devel-chm](https://discourse.julialang.org/u/devel-chm)\
**Post date:** [December 5, 2024, 4:33pm UTC](https://discourse.julialang.org/t/save-with-px-per-unit-rescales-display-of-plot-how-to-unzoom/123506/1 "2024-12-05T16:33:30Z")

</div>

I’m using GLMakie v0.10.16 for plotting with `save(png_filename,fig,px_per_unit=3)`  
to output the plot for presentation/printing. However, when I do that, the pixel scaling  
is applied to the current display _and_ the `Ctrl + Left-mouse` does not return me  
to the original zoom level the way it does if I’m just using the mouse to explore the  
figure.

Is there a way to return to the original display settings?

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://discourse.julialang.org/u/jules)\
**Post date:** [December 5, 2024, 5:25pm UTC](https://discourse.julialang.org/t/save-with-px-per-unit-rescales-display-of-plot-how-to-unzoom/123506/2 "2024-12-05T17:25:54Z")

</div>

This sounds like it should be an issue on GitHub, I feel like similar things might have been reported before but a quick search didn’t show any open ones. Looks like the scale factor isn’t reset correctly after saving

---

<div class="post-metadata">

**Author:** ![devel-chm](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/devel-chm/32/3572_2.png) [@devel-chm](https://discourse.julialang.org/u/devel-chm)\
**Post date:** [December 5, 2024, 9:55pm UTC](https://discourse.julialang.org/t/save-with-px-per-unit-rescales-display-of-plot-how-to-unzoom/123506/3 "2024-12-05T21:55:42Z")

</div>

[Issue opened on github](https://github.com/MakieOrg/Makie.jl/issues/4648)
