Re: [Matplotlib-users] Plot/save line collection object without margins

2013-07-08 Thread death jun
06.07.2013, 16:23, "Ryan Nelson": > You might need to explicitly specify your axes object rather than > relying on plt.subplot. > Try replacing 'ax = plt.sublplot(111)' with 'ax = plt.axes([0, 0, 1, 1])'. Ryan, thanks for your reply Your suggestion works perfectly Cheers

Re: [Matplotlib-users] Plot/save line collection object without margins

2013-07-06 Thread Ryan Nelson
You might need to explicitly specify your axes object rather than relying on plt.subplot. Try replacing 'ax = plt.sublplot(111)' with 'ax = plt.axes([0, 0, 1, 1])'. Ryan On 7/5/2013 12:44 PM, death jun wrote: > Hello list, > > I have LineCollection object: "l = matplotlib.collections.LineCollecti