Skip to content

Conversation

@Shubham-Jain52
Copy link
Contributor

Description

This PR adds a new Term Entry for matplotlib.pyplot.figure() under the Matplotlib > Pyplot concept.

  • File Created: content/matplotlib/concepts/pyplot/terms/figure/figure.md
  • Content: The new entry explains the purpose of plt.figure(), details its common syntax and parameters, and provides a runnable code example with an accompanying output image (figure_example.png, added to the root /media folder).
  • Motivation: Addresses issue [Term Entry] Python matplotlib - pyplot: figure() #7813, which requested this new documentation page.

Issue Solved

Closes #7813


Type of Change

  • Adding a new entry
  • Editing an existing entry (fixing a typo, bug, issues, etc)
  • Updating the documentation

Checklist

  • All writings are my own.
  • My entry follows the Codecademy Docs style guide.
  • My changes generate no new warnings.
  • I have performed a self-review of my own writing and code.
  • I have checked my entry and corrected any misspellings.
  • I have made corresponding changes to the documentation if needed. (Self-contained entry, likely no other doc changes needed)
  • I have confirmed my changes are not being pushed from my forked main branch.
  • I have confirmed that I'm pushing from a new branch named feat/7813-strip-method-clarification (or adjust if your branch name is different).
  • I have linked any issues that are relevant to this PR in the Issues Solved section.

@CLAassistant
Copy link

CLAassistant commented Oct 25, 2025

CLA assistant check
All committers have signed the CLA.

@mamtawardhani mamtawardhani self-assigned this Oct 26, 2025
Updated the description and parameters for clarity. Improved example and output explanation.
Copy link
Collaborator

@mamtawardhani mamtawardhani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good for a second review! 🚀

@Radhika-okhade Radhika-okhade added status: under review Issue or PR is currently being reviewed hacktoberfest hacktoberfest-accepted Indicates the PR was approved, merged, and pertains to Hacktoberfest and removed status: ready for next review labels Oct 29, 2025
@Radhika-okhade Radhika-okhade self-assigned this Oct 29, 2025
Copy link
Collaborator

@Radhika-okhade Radhika-okhade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Made slight changes to the tags and syntax.
The entry looks good to be merged.

@Radhika-okhade Radhika-okhade added status: review 2️⃣ completed and removed status: under review Issue or PR is currently being reviewed labels Oct 29, 2025
@mamtawardhani mamtawardhani merged commit 6c3becc into Codecademy:main Oct 29, 2025
7 checks passed
@github-actions
Copy link

👋 @Shubham-Jain52
You have contributed to Codecademy Docs, and we would like to know more about you and your experience.
Please take a minute to fill out this four question survey to help us better understand Docs contributions and how we can improve the experience for you and our learners.
Thank you for your help!

🎉 Your contribution(s) can be seen here:

https://www.codecademy.com/resources/docs/matplotlib/pyplot/figure

Please note it may take a little while for changes to become visible.
If you're appearing as anonymous and want to be credited, visit the linked accounts page and ensure that your GitHub account is linked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hacktoberfest hacktoberfest-accepted Indicates the PR was approved, merged, and pertains to Hacktoberfest matplotlib Python:Matplotlib entries new entry New entry or entries python Python entries status: review 1️⃣ completed status: review 2️⃣ completed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Term Entry] Python matplotlib - pyplot: figure()

4 participants