Jeff Whitaker wrote: > Jesper: You might consider just deleting the figure elements that you > don't want to re-use (instead of figuring out everything you do want to > re-use).
Thanks, that approach sounds more sensible than mine. > Very nice web site! Are the plots generated on the fly, or are they > pre-generated? Thanks. The vertical profiles, time series and horizontal-vertical transect plots are always generated on the fly. The horizontal contour maps are generated on the fly if they do not already exist. There is a low priority process running in the background which generates contour maps for the fields at the sea surface (but not at depth) to reduce the time users have to wait. This does not need to be done prior to putting the forecasts on the web but can be done when it is already available (if someone requests a plot which has not already been generated it will then just be generated upon the request). Besides numpy and Matplotlib I have used the TurboGears rapid web development megaframework (which is mainly a stack of Python technologies for web development) and PyNIO for data access in the application. - Jesper ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users