subplot not working properly
Bug #39109 reported by
dave pretty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
matplotlib (Ubuntu) |
Fix Released
|
Medium
|
Rolf Leggewie |
Bug Description
As documented in:
http://
the syntax for subplot is subplot(x,y,z)
in dapper, the short version subplot(xyz) [without commas] works, but not subplot(x,y,z)
this is a problem as it limits the number of subplots to 9.
both versions ( with and without commas) work in breezy.
I've tried various backends ( http://
To post a comment you must log in.
a little more info:
(in dapper)
the following works fine:
import pylab as pl [1,2,3] ,[1,2,3] ,'o') [3,2,1] ,[3,2,1] ,'x')
pl.subplot(211)
pl.plot(
pl.subplot(212)
pl.plot(
pl.show()
but here, the second subplot doesn't do anything so the second plot is plotted on top of the first [1,2,3] ,[1,2,3] ,'o') [3,2,1] ,[3,2,1] ,'x')
import pylab as pl
pl.subplot(2,1,1)
pl.plot(
pl.subplot(2,1,2)
pl.plot(
pl.show()