INNER CODE UNIT · Python
default_func
aeturrell/coding-for-economists · utilities.py:9
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,
s=100,
zorder=2,
c=[
"#bc80bd",