Skip to content

Fix matplotlib tutorial notebook typos and examples - #348

Open
dev-javedali wants to merge 4 commits into
codebasics:masterfrom
dev-javedali:fix/matplotlib-tutorial-typos
Open

Fix matplotlib tutorial notebook typos and examples#348
dev-javedali wants to merge 4 commits into
codebasics:masterfrom
dev-javedali:fix/matplotlib-tutorial-typos

Conversation

@dev-javedali

Copy link
Copy Markdown

Changes

  • Fixed the subplots example to correctly display two subplots.
  • Fixed the diabetic blood sugar range in the histogram notebook.
  • Fixed a typo and an unclosed HTML tag in the bar chart notebook.
  • Removed stray commas from h1 tag attributes across tutorial notebooks.

These changes improve correctness, formatting, and consistency in the matplotlib tutorials.

The second subplot call was commented out along with a leftover line that called set_title() on a plain list, which isn't valid. Uncommented and fixed the expense subplot, added titles for both, and added tight_layout so they don't overlap.
80-100 was listed for both Normal and Diabetic. Based on the bins used later in the notebook ([80,100,125,150]), the diabetic range should be 125-150.
Title read 'US Technolog Stocks' (missing y), and the horizontal bar chart heading closed with <h3> instead of </h3>.
Several notebooks had align=center, style=... with an invalid comma between attributes, inconsistent with the other notebooks in the repo that don't have it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant