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

Method select_xaxes

plotly/graph_objs/_figure.py:23410–23440  ·  view source on GitHub ↗

Select xaxis subplot objects from a particular subplot cell and/or xaxis subplot objects that satisfy custom selection criteria. Parameters ---------- selector: dict, function, or None (default None) Dict to use as selection criteria.

(self, selector=None, row=None, col=None)

Source from the content-addressed store, hash-verified

23408 return self
23409
23410 def select_xaxes(self, selector=None, row=None, col=None):
23411 """
23412 Select xaxis subplot objects from a particular subplot cell
23413 and/or xaxis subplot objects that satisfy custom selection
23414 criteria.
23415
23416 Parameters
23417 ----------
23418 selector: dict, function, or None (default None)
23419 Dict to use as selection criteria.
23420 xaxis objects will be selected if they contain
23421 properties corresponding to all of the dictionary's keys, with
23422 values that exactly match the supplied values. If None
23423 (the default), all xaxis objects are selected. If a
23424 function, it must be a function accepting a single argument and
23425 returning a boolean. The function will be called on each
23426 xaxis and those for which the function returned True will
23427 be in the selection.
23428 row, col: int or None (default None)
23429 Subplot row and column index of xaxis objects to select.
23430 To select xaxis objects by row and column, the Figure
23431 must have been created using plotly.subplots.make_subplots.
23432 If None (the default), all xaxis objects are selected.
23433 Returns
23434 -------
23435 generator
23436 Generator that iterates through all of the xaxis
23437 objects that satisfy all of the specified selection criteria
23438 """
23439
23440 return self._select_layout_subplots_by_prefix("xaxis", selector, row, col)
23441
23442 def for_each_xaxis(self, fn, selector=None, row=None, col=None) -> "Figure":
23443 """

Callers 4

for_each_xaxisMethod · 0.95
update_xaxesMethod · 0.95
configure_cartesian_axesFunction · 0.45

Tested by

no test coverage detected