Skip to content

Commit

Permalink
fix: remove duplicate plot trace (#34)
Browse files Browse the repository at this point in the history
Fixes #32
  • Loading branch information
samuelwnaylor authored Sep 26, 2024
1 parent f19c923 commit b58aa58
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 16 deletions.
16 changes: 8 additions & 8 deletions examples/smarteole_example.ipynb

Large diffs are not rendered by default.

8 changes: 0 additions & 8 deletions wind_up/plots/scada_funcs_plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,14 +282,6 @@ def plot_toggle_ops_curves_one_ttype_or_wtg(
ax1 = plt.subplot(2, 2, 1)
_add_scatter_plot(ax=ax1, scada_data=df_off, x_col=pw_col, y_col=rpm_col, label=f"{toggle_name} OFF")
_add_scatter_plot(ax=ax1, scada_data=df_on, x_col=pw_col, y_col=rpm_col, label=f"{toggle_name} ON")

plt.scatter(
df_on[pw_col],
df_on[rpm_col],
s=SCATTER_S,
alpha=SCATTER_ALPHA,
label=f"{toggle_name} ON",
)
plt.xlabel(f"{pw_col} [kW]")
plt.ylabel(f"{rpm_col} [RPM]")
plt.grid()
Expand Down

0 comments on commit b58aa58

Please sign in to comment.