Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

DOC: Add conda environment instructions to developers guide #21611

Closed
Milestone
@greglucas

Description

@greglucas

Just so we don't lose track of adding this to the docs at some point.

I'll add a description how to use this later to the dev docs. But basically following the instuctions in the file is sufficient.

Originally posted by@timhoffm in#17096 (comment)

I found reading through the installation instructions quite verbose. I think it is good information to keep in the documentation, but intimidating for someone just coming onto the project. My suggestion would be to add a top-level "Quickly get set up" section using the conda environment from the repo and explaining how to install and use pre-commit from#21583. An opinionated set of instructions up front and then additional details for other architectures and configurations following that.

# fork the matplotlib repository to your usernamegit clone git@github.com/your-user-name/matplotlib.gitcd matplotlibgit remote add upstream https://github.com/matplotlib/matplotlib.git# Install dependenciesconda env create -f environment.ymlconda activate mpl-devpre-commit installpip install -e.# checkout a new feature branchgit checkout -b my-new-feature# Make changes to files (including new tests!) and test your additionpytest lib/matplotlib/tests/test_file_you_changed.py# Commit with a message explaining what you have changedgit add any-files-you-changedgit commit# Committing will run automatic code-style checks and may fail and explain what you need to change# Push to remote repositorygit push --set-upstream origin my-new-feature# Go to GitHub and open a Pull Request for your new feature!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp