Plotting#

Plotting Module

solardatatools.plotting.plot_2d(D, figsize=(12, 6), units='kW', clear_days=None, dates=None, year_lines=False, ax=None, color='red')#

A function for plotting the power heat map for solar power data

Parameters:
  • D – PV power data arranged as a matrix, typically the output of data_transforms.make_2d()

  • figsize – the size of the desired figure (passed to matplotlib)

  • units – the units of the power data

  • clear_days – a boolean array marking the location of clear days in the data set, typically the output of clear_day_detection.find_clear_days()

Returns:

matplotlib figure