Skip to content

Commit

Permalink
fix: Update xlabel and ylabel to use ax instead of plt in kernel_comp…
Browse files Browse the repository at this point in the history
…arison.py
  • Loading branch information
Gorkowski committed Feb 11, 2025
1 parent 21e57cd commit 1ca6e80
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -277,11 +277,11 @@ def kernel_calc(particle_radius, turbulent_dissipation, reynolds_lambda):
color="green",
alpha=0.5,
)
plt.xlabel("Particle Radius (µm)")
plt.ylabel("Collision Kernel (cm³/s)")
ax.set_xlabel("Particle Radius (µm)")
ax.set_ylabel("Collision Kernel (cm³/s)")
plt.title("Collision Kernel Comparison")
# plt.legend()
plt.grid(True)
# ax.legend()
ax.grid(True)
plt.show()

# %% [markdown]
Expand Down

0 comments on commit 1ca6e80

Please sign in to comment.