Skip to content

Commit

Permalink
Linting examples
Browse files Browse the repository at this point in the history
  • Loading branch information
sghelichkhani committed Dec 22, 2024
1 parent 26b75b1 commit a95ae1b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions examples/02_converting_temperature_to_vs.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@

# Generate random temperatures between 300 and 400
temperatures = np.random.uniform(500, 3500, num_temperatures)
depths = (np.ones_like(temperatures) *
np.random.uniform(300e3, 1500e3, num_temperatures))
depths = np.ones_like(temperatures) * np.random.uniform(300e3, 1500e3, num_temperatures)

# Thermodynamic model
slb_pyrolite = gdrift.ThermodynamicModel("SLB_16", "pyrolite")
Expand Down Expand Up @@ -56,4 +55,4 @@
0.1, 0.02, 0.8]), orientation="vertical", label="Shear-Wave Speed [m/s]")


plt.show()
plt.show()

0 comments on commit a95ae1b

Please sign in to comment.