Skip to content

Commit

Permalink
Fix SVG scaling problem
Browse files Browse the repository at this point in the history
  • Loading branch information
jheinen authored and daschw committed Nov 13, 2020
1 parent d3f2a55 commit 501f33f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/backends/gr.jl
Original file line number Diff line number Diff line change
Expand Up @@ -593,9 +593,6 @@ function gr_display(plt::Plot, fmt="")
GR.clearws()

dpi_factor = plt[:dpi] / Plots.DPI
if fmt == "svg"
dpi_factor *= 4
end

# collect some monitor/display sizes in meters and pixels
display_width_meters, display_height_meters, display_width_px, display_height_px = GR.inqdspsize()
Expand Down

1 comment on commit 501f33f

@fonsp
Copy link
Contributor

@fonsp fonsp commented on 501f33f Dec 19, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the reason for this commit? All plots are tiny now: #3192 (comment)

I have been getting bug reports in Pluto about this

Please sign in to comment.