Merge pull request #3088 from daschw/pyplot-polar

fix pyplot polar heatmap size
This commit is contained in:
Daniel Schwabeneder 2020-10-22 08:55:15 +02:00 committed by GitHub
commit 8dc3d9805a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -911,7 +911,7 @@ function _before_layout_calcs(plt::Plot{PyPlotBackend})
fig = plt.o
if RecipesPipeline.is3d(sp)
if RecipesPipeline.is3d(sp) || ispolar(sp)
cbax = fig."add_axes"([0.9, 0.1, 0.03, 0.8])
cb = fig."colorbar"(handle; cax=cbax, kw...)
else