Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan.schirmeister committed Sep 18, 2024
1 parent 0f718b6 commit 495ce3e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions simba/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ def plot_consumption_per_rotation_distribution(extended_plots_path, schedule):
ax.set_ylabel('Number of rotations')
ax.yaxis.get_major_locator().set_params(integer=True)
ax.yaxis.grid(True)
ax.set_title('Distribution of energy consumption of rotations per vehicly type')
ax.set_title('Distribution of energy consumption of rotations per vehicle type')
ax.legend()
plt.tight_layout()
plt.savefig(extended_plots_path / "distribution_consumption")
Expand Down Expand Up @@ -542,7 +542,7 @@ def plot_charge_type_distribution(extended_plots_path, scenario, schedule):
ax.yaxis.grid(True)
ax.yaxis.get_major_locator().set_params(integer=True)
ax.legend(["successful rotations", "negative rotations"])
ax.set_title("Feasability of rotations per charging type")
ax.set_title("Feasibility of rotations per charging type")
plt.savefig(extended_plots_path / "charge_types")
plt.close()

Expand Down Expand Up @@ -625,7 +625,7 @@ def plot_gc_power_timeseries(extended_plots_path, scenario):
ax.tick_params(axis='x', rotation=30)

plt.tight_layout()
plt.savefig(extended_plots_path / f"{sanitize(gc)}_overview.png")
plt.savefig(extended_plots_path / f"{sanitize(gc)}_power_overview.png")
plt.close(fig)


Expand Down

0 comments on commit 495ce3e

Please sign in to comment.