Re: [Matplotlib-users] hide labels

2011-02-06 Thread Paul Ivanov
Francesco Montesano, on 2011-02-04 17:01, wrote: Dear all again, I've tried to play with it again, but I couldn't find a solution for the problem. For clarity I report an example of what each of the subplots looks like: Hi Francesco, thanks for the clarification, here are two ways to get

Re: [Matplotlib-users] hide labels

2011-02-06 Thread Jae-Joon Lee
For an interactive use, you may use callbacks to update the visibility of ticks automatically. Regards, -JJ import matplotlib.transforms as mtransforms def update_yticks(ax): axis = ax.yaxis interval = axis.get_view_interval() # get visible ticks myticks = [t for t in

Re: [Matplotlib-users] hide labels

2011-02-04 Thread Francesco Montesano
Dear all again, I've tried to play with it again, but I couldn't find a solution for the problem. For clarity I report an example of what each of the subplots looks like: import numpy as np import matplotlib.pyplot as plt mean = np.array([-0.9206394,  -0.90127456, -0.91983625, -0.97765539,

[Matplotlib-users] hide labels

2011-02-01 Thread Francesco Montesano
Dear all, I'm producing a single figure with subplots arrange in a single columns. They all share the same x range but the y variable change from subplot to subplot In order have a nicer figure I hide the first and the last y label of each subplot in the following way ytl =