|
From: Marin G. <mrn...@gm...> - 2015-03-13 09:53:24
|
Le 05/03/2015 17:35, Eric Firing a écrit : > On 2015/03/05 6:11 AM, Marin GILLES wrote: >> Hello everyone, >> After working a bit on the styles, I noticed that some parameters could >> not be modified using an rc or style file (for example, turning off the >> right, left, up or down axis). I kind of saw how to do it using the >> |Axis.spine.set_visible()| method, but it would be better to be able to >> change it in the rc. >> So I was wondering if there would be a way to add rcParameters using a >> method with an external file, or if I would have to change this in the >> mpl source? >> Maybe a method that would add rcParameters on demand… >> Thanks > Marin, > > The sort of capability you are describing here is not possible with the > present architecture. > > Eric > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users Hi everyone, I am trying to make a rcParameter to choose whether to display only the x, y or both grid orientations. The behaviour would be the same as the axes.grid axis input parameter, which can take ‘x’, ‘y’ or ‘both’ options. I tried adding the behaviour in the |axes/_base.py| file, in the grid function. The rcParameter is actually detected, and the functions behaves normally, but on the plotted figure, both grids are plotted… I was thinking this could be related to the pyplot wrapper generated by the boilerplate.py, but I really am not sure. If anyone has an idea where this behaviour could come from… Thank you -- *Marin GILLES* /PhD student CNRS / /Laboratoire Interdisciplinaire Carnot de Bourgogne (ICB) UMR 6303 CNRS - Université de Bourgogne 9 av Alain Savary, BP 47870 21078, Dijon (France) / ☎ (+33)6.79.35.30.11 ✉ mar...@u-... <mailto:mar...@u-...> |