My graph, which had been working just fine, randomly decided to stop filling the width of the x-axis: http://screencast.com/t/vr3AaXIq
Here’s the code I’m using (nothing fancy… I took out all unnecessary formatting and it didn’t help):
fig = plt.figure(facecolor =‘w’, frameon=False)
ax = plt.subplot(111)
lines = ax.plot(r_dates, r_inbox, ‘w-’)
I’m out of ideas… what could be causing this?
Thanks!
Tyler
Sorry, I’m not sure what “filling the width of the x-axis” means or what you are expecting to see. If you want to the x and y limits to be collapsed to your data limits, you need to do
ax.axis(‘tight’)
JDH
···
On Mon, Mar 30, 2009 at 8:22 AM, Tyler B <bosmeny@…985…> wrote:
My graph, which had been working just fine, randomly decided to stop filling the width of the x-axis: http://screencast.com/t/vr3AaXIq
Here’s the code I’m using (nothing fancy… I took out all unnecessary formatting and it didn’t help):
fig = plt.figure(facecolor =‘w’, frameon=False)
ax = plt.subplot(111)
lines = ax.plot(r_dates, r_inbox, ‘w-’)
I’m out of ideas… what could be causing this?