A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://matplotlib.org/stable/devel/contribute.html below:

Contributing guide — Matplotlib 3.11.0.dev1077+g30f4ece3f5 documentation

Contributing guide#

You've discovered a bug or something else you want to change in Matplotlib — excellent!

You've worked out a way to fix it — even better!

You want to tell us about it — best of all!

Below, you can find a number of ways to contribute, and how to connect with the Matplotlib community.

Ways to contribute#

100% yes! There are so many ways to contribute to our community. Take a look at the following sections to learn more.

There are a few typical new contributor profiles:

Code#

You want to implement a feature or fix a bug or help with maintenance - much appreciated! Our library source code is found in:

Because many people use and work on Matplotlib, we have guidelines for keeping our code consistent and mitigating the impact of changes.

Code is contributed through pull requests, so we recommend that you start at Start a pull request If you get stuck, please reach out on the Contributor incubator

Documentation#

You, as an end-user of Matplotlib can make a valuable contribution because you can more clearly see the potential for improvement than a core developer. For example, you can:

Our code is documented inline in the source code files in matplotlib/lib. Our website structure mirrors our folder structure, meaning that a narrative document's URL roughly corresponds to its location in our folder structure:

using the library

information about the library

Other documentation is generated from the following external sources:

Instructions and guidelines for contributing documentation are found in:

Documentation is contributed through pull requests, so we recommend that you start at Start a pull request. If that feels intimidating, we encourage you to open an issue describing what improvements you would make. If you get stuck, please reach out on the Contributor incubator

Triage#

We appreciate your help keeping the issue tracker organized because it is our centralized location for feature requests, bug reports, tracking major projects, and discussing priorities. Some examples of what we mean by triage are:

Our triage process is discussed in detail in Bug triaging and issue curation.

If you have any questions about the process, please reach out on the Contributor incubator

Restrictions on Generative AI Usage#

We expect authentic engagement in our community. Be wary of posting output from Large Language Models or similar generative AI as comments on GitHub or our discourse server, as such comments tend to be formulaic and low content. If you use generative AI tools as an aid in developing code or documentation changes, ensure that you fully understand the proposed changes and can explain why they are the correct approach and an improvement to the current state.

New contributors#

Everyone comes to the project from a different place — in terms of experience and interest — so there is no one-size-fits-all path to getting involved. We recommend looking at existing issue or pull request discussions, and following the conversations during pull request reviews to get context. Or you can deep-dive into a subset of the code-base to understand what is going on.

New contributors meeting#

Once a month, we host a meeting to discuss topics that interest new contributors. Anyone can attend, present, or sit in and listen to the call. Among our attendees are fellow new contributors, as well as maintainers, and veteran contributors, who are keen to support onboarding of new folks and share their experience. You can find our community calendar link at the Scientific Python website, and you can browse previous meeting notes on GitHub. We recommend joining the meeting to clarify any doubts, or lingering questions you might have, and to get to know a few of the people behind the GitHub handles 😉. You can reach out to us on gitter for any clarifications or suggestions. We ❤ feedback!

Contributor incubator#

The incubator is our non-public communication channel for new contributors. It is a private gitter (chat) room moderated by core Matplotlib developers where you can get guidance and support for your first few PRs. It's a place where you can ask questions about anything: how to use git, GitHub, how our PR review process works, technical questions about the code, what makes for good documentation or a blog post, how to get involved in community work, or get a "pre-review" on your PR.

To join, please go to our public community channel, and ask to be added to #incubator. One of our core developers will see your message and will add you.

Good first issues#

While any contributions are welcome, we have marked some issues as particularly suited for new contributors by the label good first issue. These are well documented issues, that do not require a deep understanding of the internals of Matplotlib. The issues may additionally be tagged with a difficulty. Difficulty: Easy is suited for people with little Python experience. Difficulty: Medium and Difficulty: Hard require more programming experience. This could be for a variety of reasons, among them, though not necessarily all at the same time:

First contributions#

If this is your first open source contribution, or your first time contributing to Matplotlib, and you need help or guidance finding a good first issue, look no further. This section will guide you through each step:

  1. Navigate to the issues page.

  2. Filter labels with "Difficulty: Easy" & "Good first Issue" (optional).

  3. Click on an issue you would like to work on, and check to see if the issue has a pull request opened to resolve it.

  4. Check existing pull requests (e.g., PR #28476) and filter by the issue number to make sure the issue is not in progress:

  5. Please familiarize yourself with the pull request template (see below), and ensure you understand/are able to complete the template when you open your pull request. Additional information can be found in the pull request guidelines.

<!--
Thank you so much for your PR!  To help us review your contribution, please check
out the development guide https://matplotlib.org/devdocs/devel/index.html
-->

## PR summary
<!-- Please describe the pull request, using the questions below as guidance, and link to any relevant issues and PRs:

- Why is this change necessary?
- What problem does it solve?
- What is the reasoning for this implementation?

Additionally, please summarize the changes in the title, for example "Raise ValueError on
non-numeric input to set_xlim" and avoid non-descriptive titles such as "Addresses
issue #8576".

If possible, please provide a minimum self-contained example.  If you have used
generative AI as an aid in preparing this PR, see

https://matplotlib.org/devdocs/devel/contribute.html#restrictions-on-generative-ai-usage
-->


## PR checklist
<!-- Please mark any checkboxes that do not apply to this PR as [N/A].-->

- [ ] "closes #0000" is in the body of the PR description to [link the related issue](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue)
- [ ] new and changed code is [tested](https://matplotlib.org/devdocs/devel/testing.html)
- [ ] *Plotting related* features are demonstrated in an [example](https://matplotlib.org/devdocs/devel/document.html#write-examples-and-tutorials)
- [ ] *New Features* and *API Changes* are noted with a [directive and release note](https://matplotlib.org/devdocs/devel/api_changes.html#announce-changes-deprecations-and-new-features)
- [ ] Documentation complies with [general](https://matplotlib.org/devdocs/devel/document.html#write-rest-pages) and [docstring](https://matplotlib.org/devdocs/devel/document.html#write-docstrings) guidelines

<!--We understand that PRs can sometimes be overwhelming, especially as the
reviews start coming in.  Please let us know if the reviews are unclear or
the recommended next step seems overly demanding, if you would like help in
addressing a reviewer's comments, or if you have been waiting too long to hear
back on your PR.-->
Get connected#

When in doubt, we recommend going together! Get connected with our community of active contributors, many of whom felt just like you when they started out and are happy to welcome you and support you as you get to know how we work, and where things are. You can reach out on any of our Official communication channels. For development questions we recommend reaching out on our development gitter chat room and for community questions reach out at community.

Choose an issue#

In general, the Matplotlib project does not assign issues. Issues are "assigned" or "claimed" by opening a PR; there is no other assignment mechanism. If you have opened such a PR, please comment on the issue thread to avoid duplication of work. Please check if there is an existing PR for the issue you are addressing. If there is, try to work with the author by submitting reviews of their code or commenting on the PR rather than opening a new PR; duplicate PRs are subject to being closed. However, if the existing PR is an outline, unlikely to work, or stalled, and the original author is unresponsive, feel free to open a new PR referencing the old one.

Start a pull request#

The preferred way to contribute to Matplotlib is to fork the main repository on GitHub, then submit a "pull request" (PR). To work on a a pull request:

  1. First set up a development environment, either by cloning a copy of the Matplotlib repository to your own computer or by using Github codespaces, by following the instructions in Setting up Matplotlib for development

  2. Then start solving the issue, following the guidance in development workflow

  3. As part of verifying your changes check that your contribution meets the pull request guidelines and then open a pull request.

  4. Finally follow up with maintainers on the PR if waiting more than a few days for feedback. Update the pull request as needed.

If you have questions of any sort, reach out on the Contributor incubator and join the New contributors meeting.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4