Merge pull request #2565 from isentropic/isen-dev

guidefontrotation fix for pyplot
This commit is contained in:
Daniel Schwabeneder 2020-04-12 09:39:17 +02:00 committed by GitHub
commit 693aaa51d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1110,6 +1110,7 @@ function _before_layout_calcs(plt::Plot{PyPlotBackend})
end
pyaxis."label"."set_fontsize"(py_thickness_scale(plt, axis[:guidefontsize]))
pyaxis."label"."set_family"(axis[:guidefontfamily])
pyaxis."label"."set_rotation"(axis[:guidefontrotation])
for lab in getproperty(ax, Symbol("get_", letter, "ticklabels"))()
lab."set_fontsize"(py_thickness_scale(plt, axis[:tickfontsize]))
lab."set_family"(axis[:tickfontfamily])