Skip to content

Using a TextBox in current master produces a seemingly unrelated warning. #17033

@ImportanceOfBeingErnest

Description

@ImportanceOfBeingErnest

Bug report

Bug summary

Using a TextBox in current master produces a seemingly unrelated warning.

Code for reproduction

import matplotlib.pyplot as plt
from matplotlib.widgets import TextBox

fig = plt.figure()
tba = fig.add_axes([.5, .5, 0.1, 0.05])
tb = TextBox(tba, 'Input: ', initial="999")

plt.show()

Run this code, then click into the text box to change the text.

Actual outcome

Once clicked in the box, the following warning appears:

D:\***\lib\_collections_abc.py:841: MatplotlibDeprecationWarning:
The keymap.all_axes rcparam was deprecated in Matplotlib 3.3 and will be removed two minor releases later.
  self[key] = other[key]

Expected outcome

No warning.
This bisects to #16529, which introduced this warning, but supposedly not for the use case of TextBoxes.

Matplotlib version

  • Operating system: Windows 8.1
  • Matplotlib version: current master branch
  • Matplotlib backend (print(matplotlib.get_backend())): Qt5Agg
  • Python version: 3.6.4

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

      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