I am writing a build function in python using matplotlib . The user can specify some things, for example. tick lines. The easiest way is to change rcParams , but these are global properties, so all new charts will have tick lines after calling the build function.
Is there a way to set default values ββfor individual lines for only one shape?
Or is there at least a good way to change the properties for one rcdefaults function and then return them back to the values ββthat were used earlier (not necessarily rcdefaults )?
python matplotlib plot
John smith
source share