INNER CODE UNIT · Python
really_useful_func
aeturrell/coding-for-economists · utilities.py:5
def really_useful_func(number):
return number * 10
def default_func():
print("Script has run")
def test_plot_style():
plt.style.use("plot_style.txt")
np.random.seed(402)
x = np.random.uniform(10, 1e5, 11)
y = np.random.uniform(10, 1e3, 11)
fig, ax = plt.subplots()
ax.set_title("This is a title")
ax.scatter(
np.sort(x),
y,