On Fri, Nov 19, 2010 at 2:59 AM, C M wrote:
> 2) How can I get the lines belonging to different axes to cycle
> through colors such that the same color is not used for any lines
> shown in the plot? (that is, I don't want to hard code a color to any
> line, I want it to auto-cycle).
>
ax1 = subp
When cax is an axes instance of the colorbar, you may use
cax.tick_params(labelsize=8)
If you want to directly set the FontProperties, you need to iterate
over the ticks (it seems that tick_params does not support this).
for tick in cax.yaxis.majorTicks:
tick.label2.set_fontproperties(fp)
N
On Thu, Nov 18, 2010 at 11:10 PM, John wrote:
> 1) I only need one colorbar, how would I create a single colorbar on
> the right that spanned across all axes? (ie. same height as the stack)
There are a few options you can try. I guess the easiest way is
setting up the axes manually.
dy = 0.8/3.
I was trying to implement my own nav toolbar, and everything works great
except an exception that gets thrown intermittently when in zoom
rubberbanding operation, from this bit of code in CallbackRegistry
(cbook.py):
def process(self, s, *args, **kwargs):
"""
process signal *s
On 11/21/2010 11:21 AM, Tommy Grav wrote:
> I have two questions:
>
> 1. Is there a way to increase the line width of the axes? I have figured out
> how to do it
> with the tick marks, but not the axes themselves.
for s in ax.spines.values():
s.set_linewidth(5)
>
> 2. When adding a label
I have two questions:
1. Is there a way to increase the line width of the axes? I have figured out
how to do it
with the tick marks, but not the axes themselves.
2. When adding a label to plot (xlabel and ylabel) the label will be cropped if
the font is
large. Is there a way to rescale the plo
On Sun, Nov 21, 2010 at 11:58:42AM -0500, Darren Dale wrote:
> > Apparently, to make it work with the Qt4 backend, one simply has to add:
> > QtGui.QApplication.processEvents()
> > to the method 'FigureCanvasQt.draw_idle'
> > (matplotlib/backends/backend_qt4.py).
> , discussion of why processEven
On Sun, Nov 21, 2010 at 10:36 AM, Pierre Raybaut
wrote:
> Hi all,
>
> Following a discussion with a Spyder user regarding simple animations
> with Matplotlib, I took a very quick look at the Qt4's backend source
> code to see if it was possible to make the following code work (which
> is working w
Hi all,
Following a discussion with a Spyder user regarding simple animations
with Matplotlib, I took a very quick look at the Qt4's backend source
code to see if it was possible to make the following code work (which
is working with the TkAgg backend but not the Qt4 backend):
http://www.scipy.org