I am unable to set matplotlib parameters via rcParams, e.g.
julia> using PyPlot
julia> matplotlib[:rcParams]["font.size"] = 15.0
15.0
julia> matplotlib[:rcParams]["font.size"]
10.0
This is in contrast to the equivalent code in python, which does allow me to change the font size in this manner. I find this difference in behavior surprising.
Judging by other bug reports (e.g. #114, #309), I believe this to be a regression introduced within the last year or so. (Explicitly converting rcParams to a PyDict() as in those reports doesn't make it work, either.)
On the other hand, using rc works, e.g.
julia> matplotlib[:rc]("font", size=15.0)
julia> matplotlib[:rcParams]["font.size"]
15.0
I am unable to set matplotlib parameters via
rcParams, e.g.This is in contrast to the equivalent code in python, which does allow me to change the font size in this manner. I find this difference in behavior surprising.
Judging by other bug reports (e.g. #114, #309), I believe this to be a regression introduced within the last year or so. (Explicitly converting
rcParamsto aPyDict()as in those reports doesn't make it work, either.)On the other hand, using
rcworks, e.g.