-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
Description
This issue collects together ideas to improve the plotting functionality (enabled via --plotting
on the command line and making use of matplotlib).
- 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?).
- 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.
- 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.
sadielbartholomew