This is similar to issue #417, just that the code is put into a module and the module is included:
module test_rcparams
using PyPlot
using PyCall
rcParams = PyDict(matplotlib[:rcParams])
rcParams["font.size"] = 8.0
@show matplotlib[:rcParams]["font.size"] # 10.0 (and not 8.0)
end
when including this file via include("test_rcparams"), a font size of 10.0 is displayed and not of 8.0