Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
matplotlib
/
matplotlib
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
8.5k
Star
23.1k
Code
Issues
1.1k
Pull requests
414
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Commits
Breadcrumbs
History for
matplotlib
lib
matplotlib
tests
test_pyplot.py
on
v3.11.1
User selector
All users
Datepicker
All time
Commit history
Commits on Mar 11, 2026
API: Raise ValueError in subplots if num refers to existing figure
Aaratrika-Shelly
committed
904d093
View commit details
Copy full SHA for 904d093
View code at this point
Browse repository at this point
Commits on Sep 27, 2025
MNT: update black pin
rcomer
committed
c43796a
View commit details
Copy full SHA for c43796a
View code at this point
Browse repository at this point
Commits on Jul 27, 2025
ENH: Allow to register standalone figures with pyplot
Show description for bc31177
timhoffm
committed
bc31177
View commit details
Copy full SHA for bc31177
View code at this point
Browse repository at this point
Commits on Jun 30, 2025
Add explicit signatures for pyplot.{polar,savefig,set_loglevel} (#30200)
Show description for 0e430b9
3 people
authored
0e430b9
View commit details
Copy full SHA for 0e430b9
View code at this point
Browse repository at this point
Commits on Mar 2, 2025
MNT: remove plot_date
rcomer
committed
a07d52c
View commit details
Copy full SHA for a07d52c
View code at this point
Browse repository at this point
Commits on Jan 29, 2025
FIX: pyplot.matshow figure handling
rcomer
committed
c281070
View commit details
Copy full SHA for c281070
View code at this point
Browse repository at this point
Commits on Nov 23, 2024
Minor cleanups to docstrings, comments, and error messages.
anntzer
committed
447ea3d
View commit details
Copy full SHA for 447ea3d
View code at this point
Browse repository at this point
Commits on Sep 30, 2024
Remove 3.8 deprecations in backends
QuLogic
committed
9fa9bd1
View commit details
Copy full SHA for 9fa9bd1
View code at this point
Browse repository at this point
Commits on May 19, 2024
Add warning for multiple pyplot.figure calls with same ID (#27992)
Impaler343
authored
f3359a3
View commit details
Copy full SHA for f3359a3
View code at this point
Browse repository at this point
Commits on Feb 7, 2024
MNT: de-jargon hard-coded warning and deprecation decorator
tacaswell
committed
cce8690
View commit details
Copy full SHA for cce8690
View code at this point
Browse repository at this point
Commits on Dec 1, 2023
Switch pytest fixture from tmpdir to tmp_path
Show description for 1ccb661
timhoffm
committed
1ccb661
View commit details
Copy full SHA for 1ccb661
View code at this point
Browse repository at this point
Commits on Aug 8, 2023
Do not close figures on backend switch.
Show description for a82ee7e
anntzer
committed
a82ee7e
View commit details
Copy full SHA for a82ee7e
View code at this point
Browse repository at this point
Commits on Apr 18, 2023
TST: Handle missing black more resiliently
QuLogic
committed
f987348
View commit details
Copy full SHA for f987348
View code at this point
Browse repository at this point
Commits on Apr 15, 2023
TST: Import MatplotlibDeprecationWarning consistently
QuLogic
committed
8d1f0a1
View commit details
Copy full SHA for 8d1f0a1
View code at this point
Browse repository at this point
Commits on Mar 21, 2023
Expire more mpl3.6 deprecations.
anntzer
committed
0968f71
View commit details
Copy full SHA for 0968f71
View code at this point
Browse repository at this point
Commits on Jan 9, 2023
TST,STY: Make a subprocess.run helper to xfail fork failures.
Show description for 9f2e3ba
DWesl
committed
9f2e3ba
View commit details
Copy full SHA for 9f2e3ba
View code at this point
Browse repository at this point
Commits on Jan 4, 2023
TST: Catch fork failures and mark them as xfail instead of fail.
Show description for db71b51
DWesl
committed
db71b51
View commit details
Copy full SHA for db71b51
View code at this point
Browse repository at this point
Commits on Dec 17, 2022
TST: add a test of figure.hooks
tacaswell
authored and
anntzer
committed
ac5f694
View commit details
Copy full SHA for ac5f694
View code at this point
Browse repository at this point
Commits on Oct 23, 2022
Merge pull request #14471 from tacaswell/fix_dont_close_on_noop_switch
Show description for 68c78c9
anntzer
authored
68c78c9
View commit details
Copy full SHA for 68c78c9
View code at this point
Browse repository at this point
Commits on Oct 16, 2022
Generalize validation that pyplot commands are documented
Show description for 352bb1f
timhoffm
and
story645
committed
352bb1f
View commit details
Copy full SHA for 352bb1f
View code at this point
Browse repository at this point
Commits on Sep 1, 2022
FIX: don't close figures is switch_backend unless really switching
Show description for 893134f
tacaswell
committed
893134f
View commit details
Copy full SHA for 893134f
View code at this point
Browse repository at this point
Commits on Aug 18, 2022
Add minor keyword argument to plt.x/yticks
oscargus
committed
3fd93e9
View commit details
Copy full SHA for 3fd93e9
View code at this point
Browse repository at this point
Commits on Jun 3, 2022
Merge pull request #23077 from greglucas/dep-gca-kwargs
Show description for 33e428d
oscargus
authored
33e428d
View commit details
Copy full SHA for 33e428d
View code at this point
Browse repository at this point
Commits on Jun 1, 2022
Cleanup documentation generation for pyplot
Show description for 032316b
timhoffm
and
QuLogic
committed
032316b
View commit details
Copy full SHA for 032316b
View code at this point
Browse repository at this point
Commits on May 28, 2022
MNT: Remove keyword arguments to gca()
Show description for 76b5797
greglucas
committed
76b5797
View commit details
Copy full SHA for 76b5797
View code at this point
Browse repository at this point
Commits on May 23, 2022
Reuse subprocess_run_helper in test_pylab_integration.
Show description for f194dc6
anntzer
committed
f194dc6
View commit details
Copy full SHA for f194dc6
View code at this point
Browse repository at this point
Commits on May 19, 2022
CI: try unreasonably long timeout
tacaswell
committed
80ebea5
View commit details
Copy full SHA for 80ebea5
View code at this point
Browse repository at this point
Commits on May 18, 2022
FIX: enable install_repl_displayhook when switching backends
Show description for 3fd58ed
tacaswell
and
QuLogic
committed
3fd58ed
View commit details
Copy full SHA for 3fd58ed
View code at this point
Browse repository at this point
Commits on May 9, 2022
enable sca on subfigure axes
rcomer
committed
101a2d5
View commit details
Copy full SHA for 101a2d5
View code at this point
Browse repository at this point
Commits on Mar 23, 2022
Deprecate auto-removal of overlapping Axes by plt.subplot{,2grid}.
Show description for 23338c7
anntzer
committed
23338c7
View commit details
Copy full SHA for 23338c7
View code at this point
Browse repository at this point
Commits on Feb 24, 2022
Expire deprecations in cbook.deprecation
oscargus
committed
ebc9d65
View commit details
Copy full SHA for ebc9d65
View code at this point
Browse repository at this point
Commits on Jan 16, 2022
DOC: More capitalization of Axes
Show description for 162bd59
timhoffm
committed
162bd59
View commit details
Copy full SHA for 162bd59
View code at this point
Browse repository at this point
Commits on Oct 29, 2021
FIX: re-instate ability to have position in axes
jklymak
committed
56fcef5
View commit details
Copy full SHA for 56fcef5
View code at this point
Browse repository at this point
Commits on Sep 19, 2021
STY: tweak unpacking in polar test a bit
tacaswell
committed
43d4498
View commit details
Copy full SHA for 43d4498
View code at this point
Browse repository at this point
Fix polar() regression on second call failure
beckja
committed
c0eeae9
View commit details
Copy full SHA for c0eeae9
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.