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]: svg.fonttype: None in custom style sheet gives an error #22546

Open
@emay2022

Description

@emay2022

Documentation Link

https://matplotlib.org/stable/tutorials/introductory/customizing.html

Problem

Based on

#svg.fonttype: path      # How to handle SVG fonts:                         #     path: Embed characters as paths -- supported                         #           by most SVG renderers                         #     None: Assume fonts are installed on the                         #           machine where the SVG will be viewed.

I tried to make a style sheet includingsvg.fonttype: None but when I didimport matplotlib.pyplot as plt I got this error:

Bad value in file PosixPath('/Users/Elizabeth/.matplotlib/stylelib/EJM-modified_seaborn-white.mplstyle'), line 35 ('svg.fonttype: None      # How to handle SVG fonts:'): Key svg.fonttype: 'None' is not a valid value for svg.fonttype; supported values are ['none', 'path']

Suggested improvement

I think that the 'N' in "None" should be lowercase, and also I find that it needing to be lowercase in this situation is confusing because in the next propertysvg.hashsalt: None n is indeed capitalized

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp