Thanks to visit codestin.com
Credit goes to github.com

Skip to content

PR: Fix merge of 18966 #22202

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 12, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions lib/matplotlib/backends/qt_editor/_formlayout.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
from numbers import Integral, Real

from matplotlib import _api, colors as mcolors
from .. import qt_compat
from ..qt_compat import QtGui, QtWidgets, QtCore, _enum, _to_int

_log = logging.getLogger(__name__)
Expand Down Expand Up @@ -537,8 +536,7 @@ def fedit(data, title="", comment="", icon=None, parent=None, apply=None):
parent._fedit_dialog.close()
parent._fedit_dialog = dialog

if qt_compat._exec(dialog):
return dialog.get()
dialog.show()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change lead to that fedit does not return any answer (other than None) leading to that the documentation and probably the examples where the result is printed should be changed.



if __name__ == "__main__":
Expand Down