Jean-Baptiste> S?ll !
Jean-Baptiste> I followed you advice to use directly axes to
Jean-Baptiste> define my subplots fig = Figure(figsize=(8,4),
Jean-Baptiste> dpi=100)
#ax = Subplot(fig, 211)
ax = Plot.axes([0.1,0.3,0.8,0.7])
fig.add_axis(ax)
#mrks = Subplot(fig, 212)
mrks = Plot.axes([0.1,0.1,0.8,0.15], axisbg='c')
fig.add_axis(mrks)
"Plot" is not from matplotlib. Please post a complete working
matplotlib example that replicates your problem and I'll take a look.
It looks like you are mixing the matlab interface with the OO
interface. axes is from matplotlib.matlab. If you want to use the OO
interface, use
from matplotlib.figure import Figure
from matplotlib.axes import Axes, Subplot
# etc, etc
ax = Axes(fig, [0.1, 0.3, 0.8, 0.7])
fig.add_axis(ax)
mrks = Axes(fig, [0.1, 0.1, 0.8, 0.15], axisbg='c')
fig.add_axis(mrks)
JDH