X Tutup
Skip to content

remove check under linux for ~/.matplotlib#7195

Merged
dopplershift merged 3 commits intomatplotlib:masterfrom
nbrunett:rm_matplotlibrc_check
Oct 3, 2016
Merged

remove check under linux for ~/.matplotlib#7195
dopplershift merged 3 commits intomatplotlib:masterfrom
nbrunett:rm_matplotlibrc_check

Conversation

@nbrunett
Copy link
Copy Markdown
Contributor

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
@tacaswell
Copy link
Copy Markdown
Member

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

@tacaswell
Copy link
Copy Markdown
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
Copy Markdown
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 nbrunett force-pushed the rm_matplotlibrc_check branch from d39ea3e to 2334d21 Compare September 29, 2016 02:49
@nbrunett
Copy link
Copy Markdown
Contributor Author

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

@dopplershift dopplershift merged commit e325a96 into matplotlib:master Oct 3, 2016
@nbrunett nbrunett deleted the rm_matplotlibrc_check branch October 3, 2016 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

X Tutup