bird-house / flyingpigeon

WPS processes for climate model data, indices and extreme events
http://flyingpigeon.readthedocs.io/en/latest/
Apache License 2.0
19 stars 15 forks source link

plot functions return a mpl.Figure object #192

Closed nilshempelmann closed 7 years ago

nilshempelmann commented 7 years ago

functions return a mpl.Figure object, and that the Process be responsible to save the figure in a format specified by a "fmt" LiteralInput. This way, users can save in pdf, png, svg, etc. At some point in the future, we could save in html (e.g. mpld3) and embed the output into the UI.

nilshempelmann commented 7 years ago

example realized for flyingpigeon.plot_extend fig2plot returns a plot

nilshempelmann commented 7 years ago

integrated to all plot functions