Skip to content

[ENH]: support PySide6's snake_case #23816

@bersbersbers

Description

@bersbersbers

Problem

I use PySide6 with snake_case:
https://doc.qt.io/qtforpython/feature-why.html#the-snake-case-feature

When debugging code in VS Code, I often get this:

AttributeError: type object 'PySide6.QtWidgets.QFileDialog' has no attribute 'getSaveFileName'

Proposed solution

In

_getSaveFileName = QtWidgets.QFileDialog.getSaveFileName
, check if you need to use QtWidgets.QFileDialog.get_save_file_name

Metadata

Metadata

Assignees

No one assigned

    Labels

    Difficulty: Mediumhttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issuesGUI: Qt

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions