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

remove check under linux for ~/.matplotlib #7195

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
dopplershift merged 3 commits into matplotlib:master from nbrunett:rm_matplotlibrc_check
Oct 3, 2016

Conversation

Copy link
Contributor

@nbrunett nbrunett commented Sep 28, 2016

Here's a shot at removing any checks for, or use of, ~/.matplotlib under linux. Motivated by discussion in issue #6885. Mainly just got rid of the check in init.py and some docstring stuff there. Also took a crack at updating the environment variable FAQ since it made reference to this stuff. Passed same tests as matplotlib/matplotlib/master did when running matplotlib.test().

@tacaswell mentioned having this for 2.1 but I'm not sure how to target a particular release. I'd be happy to try again if there's a way to do that explicitly on my end.

@tacaswell tacaswell added this to the 2.1 (next point release) milestone Sep 28, 2016
Copy link
Member

Can you rebase to remove the merge from upstream master into your feature branch?

Copy link
Member

Otherwise looks good.

The master branch will be the 2.1 release so this is the correct place to open the pull request.

subdirectory is created.
defined, :file:`{HOME}/.config/matplotlib` is generally used on unix-like
systems and :file:`{HOME}/.matplotlib` is used on other platforms, if they are
writable. Otherwise, the python standard library :func:`tempfile.gettmpdir`
Copy link
Member

Choose a reason for hiding this comment

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

Should say gettempdir.

nbrunett reacted with thumbs up emoji
Copy link
Contributor Author

I gave the rebase a try. It looks like I got it right. Also squashed that typo.

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

@QuLogic QuLogic QuLogic left review comments

@tacaswell tacaswell tacaswell approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
v2.1
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /