gr: fix problem with ugly exponents (#2810)
This commit is contained in:
parent
07146e84e5
commit
8e3f76cb6f
@ -752,7 +752,10 @@ function gr_convert_sci_tick_label(label)
|
|||||||
base, exponent = caret_split
|
base, exponent = caret_split
|
||||||
label = "$base^{$exponent}"
|
label = "$base^{$exponent}"
|
||||||
end
|
end
|
||||||
convert_sci_unicode(label)
|
if occursin("×10", label)
|
||||||
|
label = string(replace(label, "×10" => "×10^{"), "}")
|
||||||
|
end
|
||||||
|
label
|
||||||
end
|
end
|
||||||
|
|
||||||
function gr_axis_height(sp, axis)
|
function gr_axis_height(sp, axis)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user