Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 02f4cdb + 8dd6276 commit bd7f73aCopy full SHA for bd7f73a
1 file changed
lib/matplotlib/backends/qt_editor/formlayout.py
@@ -296,6 +296,7 @@ def setup(self):
296
field.setCheckState(QtCore.Qt.Unchecked)
297
elif isinstance(value, float):
298
field = QtWidgets.QLineEdit(repr(value), self)
299
+ field.setCursorPosition(0)
300
field.setValidator(QtGui.QDoubleValidator(field))
301
dialog = self.get_dialog()
302
dialog.register_float_field(field)
0 commit comments