MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / is_edit_valid

Function is_edit_valid

lib/matplotlib/backends/qt_editor/_formlayout.py:205–208  ·  view source on GitHub ↗
(edit)

Source from the content-addressed store, hash-verified

203
204
205def is_edit_valid(edit):
206 text = edit.text()
207 state = edit.validator().validate(text, 0)[0]
208 return state == QtGui.QDoubleValidator.State.Acceptable
209
210
211class FormWidget(QtWidgets.QWidget):

Callers 1

update_buttonsMethod · 0.85

Calls 1

textMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…