mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-11 12:02:56 +00:00
pre-commit: run black autoformatter on all files
This commit is contained in:

committed by
Erik Sundell

parent
a99a182940
commit
fe3968efe0
@@ -14,8 +14,9 @@ s = 1 + np.sin(2 * np.pi * t)
|
||||
fig, ax = plt.subplots()
|
||||
ax.plot(t, s)
|
||||
|
||||
ax.set(xlabel='time (s)', ylabel='voltage (mV)',
|
||||
title='About as simple as it gets, folks')
|
||||
ax.set(
|
||||
xlabel="time (s)", ylabel="voltage (mV)", title="About as simple as it gets, folks"
|
||||
)
|
||||
ax.grid()
|
||||
# Note that the test can be run headless by checking if an image is produced
|
||||
file_path = os.path.join("/tmp", "test.png")
|
||||
|
Reference in New Issue
Block a user