8000 [Bug]: symlog scale generates false warning when mouse is moved · Issue #26118 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
[Bug]: symlog scale generates false warning when mouse is moved #26118
Closed
@jxjo

Description

@jxjo

Bug summary

When using symlog scale for an axis, a false warning is initially generated - independant of the data to plot - as soon as the mouse is moved over the axes.

Code for reproduction

import matplotlib.pyplot as plt

ax = plt.figure().add_subplot()
ax.set_yscale('symlog')

plt.show()

Actual outcome

UserWarning: All values for SymLogScale are below linthresh, making it effectively linear. You likely should lower the value of linthresh.

Expected outcome

"Nothing"

Additional information

... maybe related to TkAgg?

Operating system

Windows

Matplotlib Version

3.7.0

Matplotlib Backend

TkAgg

Python version

3.11.2

Jupyter version

No response

Installation

pip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0