remove math font from tick font dict

This commit is contained in:
mantaohuang 2022-05-14 02:05:58 -04:00
parent 18b11a71e3
commit 2a7a1f2e2a

View File

@ -1297,8 +1297,8 @@ function _before_layout_calcs(plt::Plot{PyPlotBackend})
fontProperties = PyPlot.PyCall.PyDict( fontProperties = PyPlot.PyCall.PyDict(
Dict( Dict(
"family" => axis[:tickfontfamily], "family" => axis[:tickfontfamily],
"math_fontfamily" => # "math_fontfamily" =>
py_get_matching_math_font(axis[:tickfontfamily]), # py_get_matching_math_font(axis[:tickfontfamily]),
"size" => py_thickness_scale(plt, axis[:tickfontsize]), "size" => py_thickness_scale(plt, axis[:tickfontsize]),
"rotation" => axis[:tickfontrotation], "rotation" => axis[:tickfontrotation],
), ),