Re: [Matplotlib-users] strange behaviour with sankey diagram (maybe a bug)

2012-05-21 Thread Kevin Davies
Hi Giovanni, Thanks for your report. It looks like in this case the "dip" in the large, single input caused the input label to be at the center of the diagram. You might want to try increasing the trunklength parameter. Maybe someone has ideas to make this sort of thing more automati

Re: [Matplotlib-users] how to remove colorbar?

2012-05-21 Thread Jerzy Karczmarczuk
Benjamin Root : > Colorbars are a bit tricky. They are actually a subplot axes separate > from your plotting axes. And I don't think they are very easy to > remove. You could do a "cbar.axes.cla()", but that would still leave > the "ticks", tick labels and the colorbar label. > > I am sure th

[Matplotlib-users] Turning of ticks in matplotlibrc

2012-05-21 Thread Andreas Mueller
Hi everybody. I have been trying to turn off xticks and yticks and their labels in matplotlibrc. Ticks have an argument "tick1On" and "label1On" but it seems I can not use these in the config file. Is that correct? Is t

Re: [Matplotlib-users] how to remove colorbar?

2012-05-21 Thread Benjamin Root
On Mon, May 21, 2012 at 8:17 AM, Chao YUE wrote: > Dear all, > > Is there a way to remove colorbar? axes.cla() clears only the region for > map but not the colorbar. > > Chao > > Colorbars are a bit tricky. They are actually a subplot axes separate from your plotting axes. And I don't think the

Re: [Matplotlib-users] Contour-like line labels on line plots.

2012-05-21 Thread Eric Firing
On 05/21/2012 06:33 AM, Brian wrote: > Greetings all, > > I am trying to place line labels on a plot similar to how contours in a > contour plot are labeled (i.e. clabel). I have found that I can use > ax.annotate but have to optimize by hand while the clabel for contours > finds a "good" location

[Matplotlib-users] Contour-like line labels on line plots.

2012-05-21 Thread Brian
Greetings all, I am trying to place line labels on a plot similar to how contours in a contour plot are labeled (i.e. clabel). I have found that I can use ax.annotate but have to optimize by hand while the clabel for contours finds a "good" location without my having to find it. Is this feature av

[Matplotlib-users] strange behaviour with sankey diagram (maybe a bug)

2012-05-21 Thread Giovanni
Hi all! I'm experiencing a strange behaviour with sankey diagram. As you can see from the attached image, the patch label it's not positioned in the middle of the patch (as it should), but it's plotted over the first label... The code is attached also. Any hints? Thanks, Giovanni#!/usr/bin/en

[Matplotlib-users] how to remove colorbar?

2012-05-21 Thread Chao YUE
Dear all, Is there a way to remove colorbar? axes.cla() clears only the region for map but not the colorbar. Chao -- *** Chao YUE Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL) UMR 1572 CEA-CNR

Re: [Matplotlib-users] modify default figure dpi when saving figure interactivley

2012-05-21 Thread Tony Yu
On Mon, May 21, 2012 at 3:45 AM, Chao YUE wrote: > Dear all, > > I have a question on how to change default figure dpi when try to save > figure in interactive mode. > I try to use mat.rcParams['figure.dpi']=300 before I plot, then the > problem is that the figure which is drawn is too big for in

[Matplotlib-users] modify default figure dpi when saving figure interactivley

2012-05-21 Thread Chao YUE
Dear all, I have a question on how to change default figure dpi when try to save figure in interactive mode. I try to use mat.rcParams['figure.dpi']=300 before I plot, then the problem is that the figure which is drawn is too big for interactive check (maybe because of increase in dpi). the mat.rc