[Matplotlib-users] twinned and shared Axis

2011-06-22 Thread Matthias Queitsch
Hello, i have a small problem sharing axes with twinned subplots. Here is a code snippet: ax = fig.add_subplot(212, sharex = bx) ax.plot() grid() cx = ax.twinx() cx.plot() The problem is, that both axis are independent. So on the left side, the tick steps are 0.05 and on the right side 0.1.

[Matplotlib-users] Datetime formatting

2011-06-13 Thread Matthias Queitsch
Hello, i have some problems formatting my plot with dates on the x-axis. My time array contains datetime objects with year,month,day,hour,minute. Matplotlib shows hour, minute, second and the timezone. I want only hour and minute! I set my timezone in the matplotlibrc to 'UTC', but mpl shows sti