Skip to content
This repository was archived by the owner on Nov 6, 2020. It is now read-only.

Plotting Open Issues

Norman Fomferra edited this page Jun 14, 2017 · 2 revisions

Clarify use of matplotlib API to be used

plot_ operations should always return a new Figure or any object that can provide a Figure. However, we currently use xarray.plot or matplotlib.pyplot to generate plots. xarray.plotseem to return Artist objects.

How to put multiple variables in one plot?

  • Find out how we can combine figures in matplotlib.

Note that:

  • Axes may come from multiple variables of the same dataset, or from variables of different datasets.
  • Editing multiple individual line styles in one plot dialog is out of scope.

Provide nicer plots

E.g. Replace all plotting calls by seabornequivalents, which should look better.

Provide more plot types

  • contour plot
  • scatter plot
  • ...

Done:

One figure per view or multi-figure views?

  • Open/close figures
    • One figure per view: The view system is used to open/close individual figures, which is already implemented.
    • Multi-figure views: Must still implemented open / close. Maintain extra open/close state.
  • Layout multiple figures, so that they can be compared to each other
    • One figure per view: The view system is used to layout individual figures views, which is already implemented. But users must arrange figure views.
    • Multi-figure views: Must implement grid / list view to arrange figures. Arrangement only includes figures of a view -> easier for users.

--> multi-figure views!

Clone this wiki locally