Skip to content
This repository has been archived by the owner on Jul 13, 2021. It is now read-only.

Commit

Permalink
change to poly again for contourf (#622)
Browse files Browse the repository at this point in the history
mesh has the problem that the cairomakie backend has to use a much more memory-heavy representation for polys which blows up pdf file sizes
  • Loading branch information
jkrumbiegel authored Feb 12, 2021
1 parent 427d214 commit 3a90cf5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/basic_recipes/contourf.jl
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,13 @@ function AbstractPlotting.plot!(c::Contourf{<:Tuple{<:AbstractVector{<:Real}, <:
# it on a first run!
calculate_polys(xs[], ys[], zs[], c._computed_levels[], is_extended_low[], is_extended_high[])

mesh!(c,
poly!(c,
polys,
# colormap = c._computed_colormap,
# colorrange = colorrange,
color = colors,
strokewidth = 0,
strokecolor = :transparent,
shading=false)
end

Expand Down

0 comments on commit 3a90cf5

Please sign in to comment.