<jupyter_start><jupyter_text>We can change the axes behaviour via `tueplots.axes`.<jupyter_code>axes.lines()
fig, ax = plt.subplots()
ax.plot([1., 2.], [3., 4.])
plt.show()
plt.rcParams.update(axes.lines())
fig, ax = plt.subplots()
ax.plot([1., 2.], [3., 4.])
ax.set_xlabel("xlabel")
ax.set_ylabel("ylabel")
ax.set_title("title")
plt.show()
plt.rcParams.update(axes.tick_direction(x="inout", y="in"))
fig, ax = plt.subplots()
ax.plot([1., 2.], [3., 4.])
ax.set_xlabel("xlabel")
ax.set_ylabel("ylabel")
ax.set_title("title")
plt.show()
plt.rcParams.update(axes.color(base="red"))
fig, ax = plt.subplots()
ax.plot([1., 2.], [3., 4.], label="ABC")
ax.set_xlabel("xlabel")
ax.set_ylabel("ylabel")
ax.set_title("title")
plt.grid()
plt.show()
plt.rcParams.update(axes.grid())
fig, ax = plt.subplots()
ax.plot([1., 2.], [3., 4.], label="ABC")
ax.set_xlabel("xlabel")
ax.set_ylabel("ylabel")
ax.set_title("title")
plt.grid()
plt.show()
plt.rcParams.update(axes.spines(bottom=False, right=False))
fig, ax = plt.subplots()
ax.plot([1., 2.], [3., 4.])
ax.set_xlabel("xlabel")
ax.set_ylabel("ylabel")
ax.set_title("title")
plt.show()
plt.rcParams.update(axes.color(face="darkslategray", base="red"))
fig, ax = plt.subplots()
ax.plot([1., 2.], [3., 4.])
ax.set_xlabel("xlabel")
ax.set_ylabel("ylabel")
ax.set_title("title")
plt.show()<jupyter_output><empty_output>
StarcoderdataJupyterStructuredCleanDedup