MCPcopy Index your code
hub / github.com/plotly/plotly.py / on_edits_completed

Method on_edits_completed

plotly/basewidget.py:754–771  ·  view source on GitHub ↗

Register a function to be called after all pending trace and layout edit operations have completed If there are no pending edit operations then function is called immediately Parameters ---------- fn : callable Function of zero a

(self, fn)

Source from the content-addressed store, hash-verified

752 # Callbacks
753 # ---------
754 def on_edits_completed(self, fn):
755 """
756 Register a function to be called after all pending trace and layout
757 edit operations have completed
758
759 If there are no pending edit operations then function is called
760 immediately
761
762 Parameters
763 ----------
764 fn : callable
765 Function of zero arguments to be called when all pending edit
766 operations have completed
767 """
768 if self._layout_edit_in_process or self._trace_edit_in_process:
769 self._waiting_edit_callbacks.append(fn)
770 else:
771 fn()
772
773 # Validate No Frames
774 # ------------------

Callers

nothing calls this directly

Calls 1

fnFunction · 0.50

Tested by

no test coverage detected