Hi. The following code reports a location for the axis spines due to the print command in the last statement. If I re-run that last print command immediately after running everything else, it reports different values. Do other people experience this? I thought that the plt.show() command is sort-of like a 'flush' command, but it does not appear to work that way.
How can I flush/update/whatever the plot in code so that I can access the spine locations? Thanks, -k. im = np.arange(256).reshape(16,16) fig = plt.figure(1) fig.clf() ax = fig.add_subplot(211) ax.imshow(im) plt.show() print ax.spines['left'].get_verts() ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users