Skip to content

Potential plotting enhancements #153

@andreww

Description

@andreww

This issue collects together ideas to improve the plotting functionality (enabled via --plotting on the command line and making use of matplotlib).

  1. We currently just write the carbon intensity units in the graph in the same way as we write the units on the command line (i.e. gCO2eq/kWh). We could write this out in LaTeX (i.e. gCO$_2$eq/kWh) but we should check that this works with pip install matplotlib on all supported platforms (do they all give LaTeX?).
  2. Related to 1, we don't have unit tests for the plotting. Getting this set up looks like a bit of a faff but there is some support in matplotlib's test harness if anybody is interested. This should tell us if pip install matplotlib works.
  3. Can we improve the way we show overlapping of "now" and "optimal" times. Currently the semi-transparent red and green give us a khaki. We could detect the overlap and do hatching or something. Or put the overlap in the caption (if we can work out the colour). See Plot the carbon intensity time series #112 for previous discussion.

Probably worth gathering any other ideas below before we jump into implementation.

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions