Re: [matplotlib-devel] margins, locator_params, formatter offset

2010-04-21 Thread Jae-Joon Lee
Eric, Just a minor concern about "locator_params" implicitly calling "autoscale_view". For example, ax1 = subplot(121) ax1.plot([1,2,3]) ax1.locator_params("x", nbins=5) ax1.margins(0.1, tight=True) ax2 = subplot(122) ax2.plot([1,2,3]) ax2.margins(0.1, tight=True) ax2.locator_params("x", nbins=5

Re: [matplotlib-devel] margins, locator_params, formatter offset

2010-04-21 Thread Eric Firing
Jae-Joon Lee wrote: > Eric, > > Just a minor concern about "locator_params" implicitly calling > "autoscale_view". > For example, > > ax1 = subplot(121) > ax1.plot([1,2,3]) > ax1.locator_params("x", nbins=5) > ax1.margins(0.1, tight=True) > > ax2 = subplot(122) > ax2.plot([1,2,3]) > ax2.margins

Re: [matplotlib-devel] duplicate draw operations in basemap?

2010-04-21 Thread Eric Firing
Jeff Whitaker wrote: > Eric Firing wrote: >> Jeff, >> >> Basemap methods like plot() include a "draw_if_interactive" command, >> followed by a call to the set_axes_limits() method, which ends with >> >> # force draw if in interactive mode. >> if is_interactive(): >>

Re: [matplotlib-devel] duplicate draw operations in basemap?

2010-04-21 Thread Jeff Whitaker
Eric Firing wrote: > Jeff Whitaker wrote: >> Eric Firing wrote: >>> Jeff, >>> >>> Basemap methods like plot() include a "draw_if_interactive" command, >>> followed by a call to the set_axes_limits() method, which ends with >>> >>> # force draw if in interactive mode. >>> if is_i