Skip to content

Make TexManager.texcache private #25942

@oscargus

Description

@oscargus

(Original issue below the line)

As suggested below, it makes sense to make texcache private, which need to go through a deprecation cycle. See https://matplotlib.org/stable/devel/contributing.html#api-changes for a more detailed description of what is required in terms of deprecating something. Also, see the helper function deprecate_privatize_attribute and how it is used in the code base.

Marking as good first issue since there is a minor, well-defined, change. But it may require a bit of reading up to get it right.


Documentation Link

https://matplotlib.org/stable/api/texmanager_api.html

Problem

texcache = '/home/elliott/.cache/matplotlib/tex.cache'

Suggested improvement

Not a big deal, but maybe one can at least add a doc-string stating that is points to $HOME/.cache/matplotlib/tex.cache or however it is actually determined.

Metadata

Metadata

Assignees

No one assigned

    Labels

    API: changesDifficulty: Easyhttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issuesGood first issueOpen a pull request against these issues if there are no active ones!

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy