-
-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Episodes modified using Matplotlib Object Oriented Style #321
Conversation
Thank you!Thank you for your pull request 😃 🤖 This automated message can help you check the rendered files in your submission for clarity. If you have any questions, please feel free to open an issue in {sandpaper}. If you have files that automatically render output (e.g. R Markdown), then you should check for the following:
Rendered Changes🔍 Inspect the changes: https://github.com/datacarpentry/image-processing/compare/md-outputs..md-outputs-PR-321 The following changes were observed in the rendered markdown documents:
What does this mean?If you have source files that require output and figures to be generated (e.g. R Markdown), then it is important to make sure the generated figures and output are reproducible. This output provides a way for you to inspect the output in a diff-friendly manner so that it's easy to see the changes that occur due to new software versions or randomisation. ⏱️ Updated at 2024-03-12 16:33:49 +0000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you so much for this work, @GParolini! Look, @uschille, it turns out we could find someone to tackle this good first issue. 😃
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work @GParolini, thank you so much! The suggestions I have are beyond the scope of the PR and more about improving the current lesson text. Happy to merge this PR and look into text revisions separately.
episodes/05-creating-histograms.md
Outdated
@@ -450,6 +450,6 @@ plt.ylabel("pixel count") | |||
- In many cases, we can load images in grayscale by passing the `mode="L"` argument to the `iio.imread()` function. | |||
- We can create histograms of images with the `np.histogram` function. | |||
- We can separate the RGB channels of an image using slicing operations. | |||
- We can display histograms using the `matplotlib pyplot` `figure()`, `title()`, `xlabel()`, `ylabel()`, `xlim()`, `plot()`, and `show()` functions. | |||
- We can display histograms using the `matplotlib pyplot` `subplots()`, `set_title()`, `set_xlabel()`, `set_ylabel()`, `set_xlim()`, `plot()`, and `show()` functions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This sentence is a bit condensend and probably a relict from earlier revisions. I would suggest the following version:
- We can display histograms using the `matplotlib pyplot` `subplots()`, `set_title()`, `set_xlabel()`, `set_ylabel()`, `set_xlim()`, `plot()`, and `show()` functions. | |
- We can display histograms using `plt.plot()` with the `bin_edges` and `histogram` values returned by `np.histogram()`. |
(using the idiomatic plt
for matplotlib.pyplot
similar to how np
and iio
are used in previous bullet points)
Perhaps move the point on RGB channels to the bottom of the list and rephrase?
- We can separate the RGB channels of an image using slicing operations and create and plot histograms for each channel separately.
We could add a separate bullet point for set_xlabel()
etc., but perhaps those are already used before this episode?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree. Shifting the sentence on the RGB channels in the last position brings in sequence the explanations on creating and displaying histograms.
Perhaps before the RGB statement a sentence like the following can be added to explain the use of set label and limit options:
- The artists "X axis label" and "Y axis label" can be added and customised using
set_xlabel()
,set_ylabel()
,set_xlim()
,set_ylim()
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 I like this sentence. I would just suggest to avoid the term "artist" because I'm not sure learners will be familiar with the Matplotlib terminology and it may cause unnecessary cognitive load. So perhaps:
- The plot can be customised using
set_xlabel()
,set_ylabel()
,set_xlim()
,set_ylim()
, andset_title()
.
@GParolini, would you like to add the newly ordered and edited bullet list to your pull request?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also noticed I made a mistake in my previous suggestion by not using object-oriented syntax:
- We can display histograms using the `matplotlib pyplot` `subplots()`, `set_title()`, `set_xlabel()`, `set_ylabel()`, `set_xlim()`, `plot()`, and `show()` functions. | |
- We can display histograms using `ax.plot()` with the `bin_edges` and `histogram` values returned by `np.histogram()`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok. I committed the changes to the branch.
Fix typo/grammar Co-authored-by: Marianne Corvellec <[email protected]>
Co-authored-by: Marianne Corvellec <[email protected]>
Thanks so much for contributing these improvements, @GParolini 🙌 and of course @mkcor and @uschille for reviewing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! 🎉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fantastic, @GParolini. I have added one minor edit and will go ahead and merge this PR.
Auto-generated via {sandpaper} Source : ff9e06a Branch : main Author : Ulf Schiller <[email protected]> Time : 2024-03-12 16:37:53 +0000 Message : Merge pull request #321 from GParolini/oo-matplotlib Episodes modified using Matplotlib Object Oriented Style
Great work @GParolini, and great teamwork @mkcor and @tobyhodges! The rebuild of the webpages also fixed some rendering issues related to carpentries/sandpaper#470 - thanks to the contributors over there! |
Auto-generated via {sandpaper} Source : 7205fd1 Branch : md-outputs Author : GitHub Actions <[email protected]> Time : 2024-03-12 16:38:40 +0000 Message : markdown source builds Auto-generated via {sandpaper} Source : ff9e06a Branch : main Author : Ulf Schiller <[email protected]> Time : 2024-03-12 16:37:53 +0000 Message : Merge pull request #321 from GParolini/oo-matplotlib Episodes modified using Matplotlib Object Oriented Style
Auto-generated via {sandpaper} Source : ff9e06a Branch : main Author : Ulf Schiller <[email protected]> Time : 2024-03-12 16:37:53 +0000 Message : Merge pull request datacarpentry#321 from GParolini/oo-matplotlib Episodes modified using Matplotlib Object Oriented Style
Auto-generated via {sandpaper} Source : 6170e57 Branch : md-outputs Author : GitHub Actions <[email protected]> Time : 2024-03-12 16:49:44 +0000 Message : markdown source builds Auto-generated via {sandpaper} Source : ff9e06a Branch : main Author : Ulf Schiller <[email protected]> Time : 2024-03-12 16:37:53 +0000 Message : Merge pull request datacarpentry#321 from GParolini/oo-matplotlib Episodes modified using Matplotlib Object Oriented Style
Auto-generated via {sandpaper} Source : 6170e57 Branch : md-outputs Author : GitHub Actions <[email protected]> Time : 2024-03-12 16:49:44 +0000 Message : markdown source builds Auto-generated via {sandpaper} Source : ff9e06a Branch : main Author : Ulf Schiller <[email protected]> Time : 2024-03-12 16:37:53 +0000 Message : Merge pull request datacarpentry#321 from GParolini/oo-matplotlib Episodes modified using Matplotlib Object Oriented Style
Auto-generated via {sandpaper} Source : 6170e57 Branch : md-outputs Author : GitHub Actions <[email protected]> Time : 2024-03-12 16:49:44 +0000 Message : markdown source builds Auto-generated via {sandpaper} Source : ff9e06a Branch : main Author : Ulf Schiller <[email protected]> Time : 2024-03-12 16:37:53 +0000 Message : Merge pull request datacarpentry#321 from GParolini/oo-matplotlib Episodes modified using Matplotlib Object Oriented Style
Auto-generated via {sandpaper} Source : 6170e57 Branch : md-outputs Author : GitHub Actions <[email protected]> Time : 2024-03-12 16:49:44 +0000 Message : markdown source builds Auto-generated via {sandpaper} Source : ff9e06a Branch : main Author : Ulf Schiller <[email protected]> Time : 2024-03-12 16:37:53 +0000 Message : Merge pull request datacarpentry#321 from GParolini/oo-matplotlib Episodes modified using Matplotlib Object Oriented Style
Auto-generated via {sandpaper} Source : 6170e57 Branch : md-outputs Author : GitHub Actions <[email protected]> Time : 2024-03-12 16:49:44 +0000 Message : markdown source builds Auto-generated via {sandpaper} Source : ff9e06a Branch : main Author : Ulf Schiller <[email protected]> Time : 2024-03-12 16:37:53 +0000 Message : Merge pull request datacarpentry#321 from GParolini/oo-matplotlib Episodes modified using Matplotlib Object Oriented Style
Auto-generated via {sandpaper} Source : 6170e57 Branch : md-outputs Author : GitHub Actions <[email protected]> Time : 2024-03-12 16:49:44 +0000 Message : markdown source builds Auto-generated via {sandpaper} Source : ff9e06a Branch : main Author : Ulf Schiller <[email protected]> Time : 2024-03-12 16:37:53 +0000 Message : Merge pull request datacarpentry#321 from GParolini/oo-matplotlib Episodes modified using Matplotlib Object Oriented Style
Auto-generated via {sandpaper} Source : 6170e57 Branch : md-outputs Author : GitHub Actions <[email protected]> Time : 2024-03-12 16:49:44 +0000 Message : markdown source builds Auto-generated via {sandpaper} Source : ff9e06a Branch : main Author : Ulf Schiller <[email protected]> Time : 2024-03-12 16:37:53 +0000 Message : Merge pull request datacarpentry#321 from GParolini/oo-matplotlib Episodes modified using Matplotlib Object Oriented Style
Auto-generated via {sandpaper} Source : 6170e57 Branch : md-outputs Author : GitHub Actions <[email protected]> Time : 2024-03-12 16:49:44 +0000 Message : markdown source builds Auto-generated via {sandpaper} Source : ff9e06a Branch : main Author : Ulf Schiller <[email protected]> Time : 2024-03-12 16:37:53 +0000 Message : Merge pull request datacarpentry#321 from GParolini/oo-matplotlib Episodes modified using Matplotlib Object Oriented Style
Auto-generated via {sandpaper} Source : 6170e57 Branch : md-outputs Author : GitHub Actions <[email protected]> Time : 2024-03-12 16:49:44 +0000 Message : markdown source builds Auto-generated via {sandpaper} Source : ff9e06a Branch : main Author : Ulf Schiller <[email protected]> Time : 2024-03-12 16:37:53 +0000 Message : Merge pull request datacarpentry#321 from GParolini/oo-matplotlib Episodes modified using Matplotlib Object Oriented Style
Auto-generated via {sandpaper} Source : 6170e57 Branch : md-outputs Author : GitHub Actions <[email protected]> Time : 2024-03-12 16:49:44 +0000 Message : markdown source builds Auto-generated via {sandpaper} Source : ff9e06a Branch : main Author : Ulf Schiller <[email protected]> Time : 2024-03-12 16:37:53 +0000 Message : Merge pull request datacarpentry#321 from GParolini/oo-matplotlib Episodes modified using Matplotlib Object Oriented Style
Auto-generated via {sandpaper} Source : 6170e57 Branch : md-outputs Author : GitHub Actions <[email protected]> Time : 2024-03-12 16:49:44 +0000 Message : markdown source builds Auto-generated via {sandpaper} Source : ff9e06a Branch : main Author : Ulf Schiller <[email protected]> Time : 2024-03-12 16:37:53 +0000 Message : Merge pull request datacarpentry#321 from GParolini/oo-matplotlib Episodes modified using Matplotlib Object Oriented Style
Auto-generated via {sandpaper} Source : 6170e57 Branch : md-outputs Author : GitHub Actions <[email protected]> Time : 2024-03-12 16:49:44 +0000 Message : markdown source builds Auto-generated via {sandpaper} Source : ff9e06a Branch : main Author : Ulf Schiller <[email protected]> Time : 2024-03-12 16:37:53 +0000 Message : Merge pull request datacarpentry#321 from GParolini/oo-matplotlib Episodes modified using Matplotlib Object Oriented Style
Auto-generated via {sandpaper} Source : 6170e57 Branch : md-outputs Author : GitHub Actions <[email protected]> Time : 2024-03-12 16:49:44 +0000 Message : markdown source builds Auto-generated via {sandpaper} Source : ff9e06a Branch : main Author : Ulf Schiller <[email protected]> Time : 2024-03-12 16:37:53 +0000 Message : Merge pull request datacarpentry#321 from GParolini/oo-matplotlib Episodes modified using Matplotlib Object Oriented Style
Auto-generated via {sandpaper} Source : 6170e57 Branch : md-outputs Author : GitHub Actions <[email protected]> Time : 2024-03-12 16:49:44 +0000 Message : markdown source builds Auto-generated via {sandpaper} Source : ff9e06a Branch : main Author : Ulf Schiller <[email protected]> Time : 2024-03-12 16:37:53 +0000 Message : Merge pull request datacarpentry#321 from GParolini/oo-matplotlib Episodes modified using Matplotlib Object Oriented Style
Auto-generated via {sandpaper} Source : 6170e57 Branch : md-outputs Author : GitHub Actions <[email protected]> Time : 2024-03-12 16:49:44 +0000 Message : markdown source builds Auto-generated via {sandpaper} Source : ff9e06a Branch : main Author : Ulf Schiller <[email protected]> Time : 2024-03-12 16:37:53 +0000 Message : Merge pull request datacarpentry#321 from GParolini/oo-matplotlib Episodes modified using Matplotlib Object Oriented Style
Auto-generated via {sandpaper} Source : 6170e57 Branch : md-outputs Author : GitHub Actions <[email protected]> Time : 2024-03-12 16:49:44 +0000 Message : markdown source builds Auto-generated via {sandpaper} Source : ff9e06a Branch : main Author : Ulf Schiller <[email protected]> Time : 2024-03-12 16:37:53 +0000 Message : Merge pull request datacarpentry#321 from GParolini/oo-matplotlib Episodes modified using Matplotlib Object Oriented Style
Auto-generated via {sandpaper} Source : 6170e57 Branch : md-outputs Author : GitHub Actions <[email protected]> Time : 2024-03-12 16:49:44 +0000 Message : markdown source builds Auto-generated via {sandpaper} Source : ff9e06a Branch : main Author : Ulf Schiller <[email protected]> Time : 2024-03-12 16:37:53 +0000 Message : Merge pull request datacarpentry#321 from GParolini/oo-matplotlib Episodes modified using Matplotlib Object Oriented Style
Auto-generated via {sandpaper} Source : 6170e57 Branch : md-outputs Author : GitHub Actions <[email protected]> Time : 2024-03-12 16:49:44 +0000 Message : markdown source builds Auto-generated via {sandpaper} Source : ff9e06a Branch : main Author : Ulf Schiller <[email protected]> Time : 2024-03-12 16:37:53 +0000 Message : Merge pull request datacarpentry#321 from GParolini/oo-matplotlib Episodes modified using Matplotlib Object Oriented Style
Auto-generated via {sandpaper} Source : 6170e57 Branch : md-outputs Author : GitHub Actions <[email protected]> Time : 2024-03-12 16:49:44 +0000 Message : markdown source builds Auto-generated via {sandpaper} Source : ff9e06a Branch : main Author : Ulf Schiller <[email protected]> Time : 2024-03-12 16:37:53 +0000 Message : Merge pull request datacarpentry#321 from GParolini/oo-matplotlib Episodes modified using Matplotlib Object Oriented Style
Auto-generated via {sandpaper} Source : 6170e57 Branch : md-outputs Author : GitHub Actions <[email protected]> Time : 2024-03-12 16:49:44 +0000 Message : markdown source builds Auto-generated via {sandpaper} Source : ff9e06a Branch : main Author : Ulf Schiller <[email protected]> Time : 2024-03-12 16:37:53 +0000 Message : Merge pull request datacarpentry#321 from GParolini/oo-matplotlib Episodes modified using Matplotlib Object Oriented Style
Auto-generated via {sandpaper} Source : 6170e57 Branch : md-outputs Author : GitHub Actions <[email protected]> Time : 2024-03-12 16:49:44 +0000 Message : markdown source builds Auto-generated via {sandpaper} Source : ff9e06a Branch : main Author : Ulf Schiller <[email protected]> Time : 2024-03-12 16:37:53 +0000 Message : Merge pull request datacarpentry#321 from GParolini/oo-matplotlib Episodes modified using Matplotlib Object Oriented Style
Auto-generated via {sandpaper} Source : 6170e57 Branch : md-outputs Author : GitHub Actions <[email protected]> Time : 2024-03-12 16:49:44 +0000 Message : markdown source builds Auto-generated via {sandpaper} Source : ff9e06a Branch : main Author : Ulf Schiller <[email protected]> Time : 2024-03-12 16:37:53 +0000 Message : Merge pull request datacarpentry#321 from GParolini/oo-matplotlib Episodes modified using Matplotlib Object Oriented Style
Auto-generated via {sandpaper} Source : 6170e57 Branch : md-outputs Author : GitHub Actions <[email protected]> Time : 2024-03-12 16:49:44 +0000 Message : markdown source builds Auto-generated via {sandpaper} Source : ff9e06a Branch : main Author : Ulf Schiller <[email protected]> Time : 2024-03-12 16:37:53 +0000 Message : Merge pull request datacarpentry#321 from GParolini/oo-matplotlib Episodes modified using Matplotlib Object Oriented Style
Auto-generated via {sandpaper} Source : 6170e57 Branch : md-outputs Author : GitHub Actions <[email protected]> Time : 2024-03-12 16:49:44 +0000 Message : markdown source builds Auto-generated via {sandpaper} Source : ff9e06a Branch : main Author : Ulf Schiller <[email protected]> Time : 2024-03-12 16:37:53 +0000 Message : Merge pull request datacarpentry#321 from GParolini/oo-matplotlib Episodes modified using Matplotlib Object Oriented Style
Auto-generated via {sandpaper} Source : 6170e57 Branch : md-outputs Author : GitHub Actions <[email protected]> Time : 2024-03-12 16:49:44 +0000 Message : markdown source builds Auto-generated via {sandpaper} Source : ff9e06a Branch : main Author : Ulf Schiller <[email protected]> Time : 2024-03-12 16:37:53 +0000 Message : Merge pull request datacarpentry#321 from GParolini/oo-matplotlib Episodes modified using Matplotlib Object Oriented Style
Auto-generated via {sandpaper} Source : 6170e57 Branch : md-outputs Author : GitHub Actions <[email protected]> Time : 2024-03-12 16:49:44 +0000 Message : markdown source builds Auto-generated via {sandpaper} Source : ff9e06a Branch : main Author : Ulf Schiller <[email protected]> Time : 2024-03-12 16:37:53 +0000 Message : Merge pull request datacarpentry#321 from GParolini/oo-matplotlib Episodes modified using Matplotlib Object Oriented Style
Auto-generated via {sandpaper} Source : 6170e57 Branch : md-outputs Author : GitHub Actions <[email protected]> Time : 2024-03-12 16:49:44 +0000 Message : markdown source builds Auto-generated via {sandpaper} Source : ff9e06a Branch : main Author : Ulf Schiller <[email protected]> Time : 2024-03-12 16:37:53 +0000 Message : Merge pull request datacarpentry#321 from GParolini/oo-matplotlib Episodes modified using Matplotlib Object Oriented Style
Auto-generated via {sandpaper} Source : 6170e57 Branch : md-outputs Author : GitHub Actions <[email protected]> Time : 2024-03-12 16:49:44 +0000 Message : markdown source builds Auto-generated via {sandpaper} Source : ff9e06a Branch : main Author : Ulf Schiller <[email protected]> Time : 2024-03-12 16:37:53 +0000 Message : Merge pull request datacarpentry#321 from GParolini/oo-matplotlib Episodes modified using Matplotlib Object Oriented Style
Auto-generated via {sandpaper} Source : 6170e57 Branch : md-outputs Author : GitHub Actions <[email protected]> Time : 2024-03-12 16:49:44 +0000 Message : markdown source builds Auto-generated via {sandpaper} Source : ff9e06a Branch : main Author : Ulf Schiller <[email protected]> Time : 2024-03-12 16:37:53 +0000 Message : Merge pull request datacarpentry#321 from GParolini/oo-matplotlib Episodes modified using Matplotlib Object Oriented Style
Auto-generated via {sandpaper} Source : 6170e57 Branch : md-outputs Author : GitHub Actions <[email protected]> Time : 2024-03-12 16:49:44 +0000 Message : markdown source builds Auto-generated via {sandpaper} Source : ff9e06a Branch : main Author : Ulf Schiller <[email protected]> Time : 2024-03-12 16:37:53 +0000 Message : Merge pull request datacarpentry#321 from GParolini/oo-matplotlib Episodes modified using Matplotlib Object Oriented Style
Auto-generated via {sandpaper} Source : 6170e57 Branch : md-outputs Author : GitHub Actions <[email protected]> Time : 2024-03-12 16:49:44 +0000 Message : markdown source builds Auto-generated via {sandpaper} Source : ff9e06a Branch : main Author : Ulf Schiller <[email protected]> Time : 2024-03-12 16:37:53 +0000 Message : Merge pull request datacarpentry#321 from GParolini/oo-matplotlib Episodes modified using Matplotlib Object Oriented Style
Auto-generated via `{sandpaper}` Source : 6170e57 Branch : md-outputs Author : GitHub Actions <[email protected]> Time : 2024-03-12 16:49:44 +0000 Message : markdown source builds Auto-generated via {sandpaper} Source : ff9e06a Branch : main Author : Ulf Schiller <[email protected]> Time : 2024-03-12 16:37:53 +0000 Message : Merge pull request datacarpentry#321 from GParolini/oo-matplotlib Episodes modified using Matplotlib Object Oriented Style
Auto-generated via `{sandpaper}` Source : 6170e57 Branch : md-outputs Author : GitHub Actions <[email protected]> Time : 2024-03-12 16:49:44 +0000 Message : markdown source builds Auto-generated via {sandpaper} Source : ff9e06a Branch : main Author : Ulf Schiller <[email protected]> Time : 2024-03-12 16:37:53 +0000 Message : Merge pull request datacarpentry#321 from GParolini/oo-matplotlib Episodes modified using Matplotlib Object Oriented Style
Auto-generated via `{sandpaper}` Source : 6170e57 Branch : md-outputs Author : GitHub Actions <[email protected]> Time : 2024-03-12 16:49:44 +0000 Message : markdown source builds Auto-generated via {sandpaper} Source : ff9e06a Branch : main Author : Ulf Schiller <[email protected]> Time : 2024-03-12 16:37:53 +0000 Message : Merge pull request datacarpentry#321 from GParolini/oo-matplotlib Episodes modified using Matplotlib Object Oriented Style
Auto-generated via `{sandpaper}` Source : 6170e57 Branch : md-outputs Author : GitHub Actions <[email protected]> Time : 2024-03-12 16:49:44 +0000 Message : markdown source builds Auto-generated via {sandpaper} Source : ff9e06a Branch : main Author : Ulf Schiller <[email protected]> Time : 2024-03-12 16:37:53 +0000 Message : Merge pull request datacarpentry#321 from GParolini/oo-matplotlib Episodes modified using Matplotlib Object Oriented Style
Auto-generated via `{sandpaper}` Source : 6170e57 Branch : md-outputs Author : GitHub Actions <[email protected]> Time : 2024-03-12 16:49:44 +0000 Message : markdown source builds Auto-generated via {sandpaper} Source : ff9e06a Branch : main Author : Ulf Schiller <[email protected]> Time : 2024-03-12 16:37:53 +0000 Message : Merge pull request datacarpentry#321 from GParolini/oo-matplotlib Episodes modified using Matplotlib Object Oriented Style
Auto-generated via `{sandpaper}` Source : 6170e57 Branch : md-outputs Author : GitHub Actions <[email protected]> Time : 2024-03-12 16:49:44 +0000 Message : markdown source builds Auto-generated via {sandpaper} Source : ff9e06a Branch : main Author : Ulf Schiller <[email protected]> Time : 2024-03-12 16:37:53 +0000 Message : Merge pull request datacarpentry#321 from GParolini/oo-matplotlib Episodes modified using Matplotlib Object Oriented Style
If this pull request addresses an open issue on the repository, please add 'Closes #NN' below, where NN is the issue number.
Closes #319 [Matplotlib is currently used in a hybrid way (explicit vs. implicit interfaces)]
Please briefly summarise the changes made in the pull request, and the reason(s) for making these changes.
The episodes are now using Matplotlib Object Oriented Style. In a few places, I needed also to change the explanatory text when the text referred to displaying figures with Matplotlib.
In Episode 3, I simplified the two lines of code
fig, ax = plt.subplots()
fig, ax = plt.subplots(ncols=2)
removing the first line.
If any relevant discussions have taken place elsewhere, please provide links to these.
For more guidance on how to contribute changes to a Carpentries project, please review the Contributing Guide and Code of Conduct.
Please keep in mind that lesson Maintainers are volunteers and it may be some time before they can respond to your contribution. Although not all contributions can be incorporated into the lesson materials, we appreciate your time and effort to improve the curriculum. If you have any questions about the lesson maintenance process or would like to volunteer your time as a contribution reviewer, please contact The Carpentries Team at [email protected].