Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Check if ~/.matplotlib/ is a symlink to ~/.config/matplotlib/ #6885

Closed
@nbrunett

Description

@nbrunett

Hi

I was wondering if it would be reasonable to have init.py check if ~/.matplotlib/ is a symbolic link to ~/.config/matplotlib/ before issuing the UserWarning about that location being deprecated. I unfortunately have to work with a software package that comes bundled with it's own copy of matplotlib which is version 1.1.0. That means it looks for the configuration in ~/.matplotlib/. I use 1.5.1 for all of my other work and keep my configuration files in ~/.config/matplotlib/. I thought I was being clever when I just made a symlink ~/.matplotlib/ that points to ~/.config/matplotlib/ but now I get UserWarnings whenever I use matplotlib outside of that other software package.

I'm running on linux (Mageia 6), Python version 2.7.12 and both Matplotlib and Python were installed with Anaconda.

If this is too much of an edge case and would just clutter the code I'd understand.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions