Skip to content

Commit 1871abf

Browse files
enryHCopilot
andcommitted
Apply suggestions from code review
Co-authored-by: Copilot <[email protected]>
1 parent 110a511 commit 1871abf

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"extensions": [
2323
"ms-toolsai.jupyter",
2424
"ms-python.python",
25-
"mechatroner.rainbow-csv",
25+
"mechatroner.rainbow-csv"
2626
],
2727
// Use Python from conda
2828
"settings": {},

1_1_matplotlib.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
# - Built on NumPy arrays and designed to work with the broader SciPy stack.
55
#
66
# Inspiration for plots and overviews
7-
# - # Material
87
# - [python-graph-gallery.com/](https://python-graph-gallery.com/)
98
# - [Matplotlib Gallery](https://matplotlib.org/stable/gallery/index.html)
109

@@ -178,10 +177,10 @@
178177

179178
# %%
180179
fig, axes = plt.subplots(nrows=1, ncols=2, figsize=(7.4, 4))
181-
axes = axes.flatten() # in case of more than one dimension (saftey snippet for you)
180+
axes = axes.flatten() # in case of more than one dimension (safety snippet for you)
182181
ax = axes[0]
183182
n, bins, patches = ax.hist(x, bins=30, alpha=0.7, color="C0")
184183
ax = axes[1]
185-
# Add a scecond plto here
184+
# Add a second plot here
186185

187186
# %%

0 commit comments

Comments
 (0)