From: Benjamin R. <ben...@ou...> - 2015-07-04 02:41:29
|
Which version of matplotlib? This is familiar.... I could have sworn we fixed this. Ben Root On Jul 3, 2015 10:25 PM, "Gael Grissonnanche" <gae...@gm...> wrote: > Hi everyone, > > > > I had recently experienced a frustration regarding zorder and clip_on in > Matplotlib. > > > > In figure 1 attached here, I would like to put blue horizontal error bars > above the x-axis. As you can see right now, half of it is cut by the x-axis > (for the blue point at H = 0). I used: > > > > axes.errorbar(data[:,0], data[:,1], xerr=data[:,2], fmt='', ls ="", c = > ‘b’, capthick=2, elinewidth=2, clip_on = False, zorder = 10) > > > > But even if I change zorder = 1000, the error bar never goes above the > axis. Is it a bug? > > > > Regarding the same topic, I also discovered that when using axes.twinx() > in Figure 2 (A : axes; B : axes2 = axes.twinx()). The blue curve (A) never > goes above the red curve (B), whatever zorder I use. I even tried > axes2.set_axisbelow(True), but it doesn’t change anything. I really want > “axes2” to be below the “axes”. Is it a bug? I had to change it manually > with Illustrator and it worked, but it is of course really not convenient. > > > > Thank you very much for your help ! > > > > > > > ------------------------------------------------------------------------------ > Don't Limit Your Business. Reach for the Cloud. > GigeNET's Cloud Solutions provide you with the tools and support that > you need to offload your IT needs and focus on growing your business. > Configured For All Businesses. Start Your Cloud Today. > https://www.gigenetcloud.com/ > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > |