Skip to content

[Bug]: cm fontset in log scale does not use Unicode minus #21540

Closed
@Atcold

Description

@Atcold

Bug summary

Minuses are shown as dashes when choosing the log scale, both in the exponent and in front of the actual number.

Code for reproduction

plot([-10, 10], [-10, 10])
yscale('symlog', linthresh=.1)

Actual outcome

image

Expected outcome

Minuses should be shown as minuses and not dashes.

Operating system

OS/X

Matplotlib Version

3.4.3

Matplotlib Backend

module://matplotlib_inline.backend_inline

Python version

3.8.1

Jupyter version

3.2.1

Other libraries

No response

Installation

conda

Conda channel

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions