8000 Docs for plt.ginput() have the wrong default value for show_clicks keyword argument. · Issue #14467 · matplotlib/matplotlib · GitHub 8000
[go: up one dir, main page]

Skip to content
Docs for plt.ginput() have the wrong default value for show_clicks keyword argument. #14467
Closed
@benrussell80

Description

@benrussell80

Bug report

Bug summary

matplotlib.pyplot.ginput documentation says that show_clicks keyword argument defaults to False, but it behaves as if defaulted to True.

Code for reproduction

import matplotlib.pyplot as plt

arr = [[1, 0], [0, 1]]

plt.imshow(arr, cmap='gray')
plt.ginput(n=-1, timeout=0)
plt.close()
plt.show()

(then left-click on each tile)

Actual outcome

ginput_docs_error_1

Expected outcome

ginput_docs_error_2

Matplotlib version

  • Operating system: Linux Ubuntu 18.04
  • Matplotlib version: 3.10
  • Matplotlib backend: Qt5Agg
  • Python version: 3.7.3

Installed matplotlib with conda default channel

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocumentationGood 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

      0