Plotting Components
NoPlot
XYPlotComp
- class topfarm.plotting.XYPlotComp(memory=10, delay=0.001, plot_initial=True, plot_improvements_only=False, ax=None, legendloc=1, save_plot_per_iteration=False)[source]
Plotting component for turbine locations
- __init__(memory=10, delay=0.001, plot_initial=True, plot_improvements_only=False, ax=None, legendloc=1, save_plot_per_iteration=False)[source]
Initialize component for plotting turbine locations
- Parameters
memory (int, optional) – Number of previous iterations to remember
delay (float, optional) – Time delay in seconds between plotting updates
plot_initial (bool, optional) – Flag to plot the initial turbine locations
plot_improvements_only (bool, optional) – Flag to plot only improvements in cost
ax (matplotlib axes, optional) – Axes into which to make the plot
legendloc (int) – Location of the legend in the plot
TurbineTypePlotComponent