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

Method port

plotly/io/_orca.py:343–355  ·  view source on GitHub ↗

The specific port to use to communicate with the orca server, or None if the port is to be chosen automatically. If an orca server is active, the port in use is stored in the plotly.io.orca.status.port property. Returns ------- int or None

(self)

Source from the content-addressed store, hash-verified

341
342 @property
343 def port(self):
344 """
345 The specific port to use to communicate with the orca server, or
346 None if the port is to be chosen automatically.
347
348 If an orca server is active, the port in use is stored in the
349 plotly.io.orca.status.port property.
350
351 Returns
352 -------
353 int or None
354 """
355 return self._props.get("port", None)
356
357 @port.setter
358 def port(self, val):

Callers

nothing calls this directly

Calls 3

getMethod · 0.45
popMethod · 0.45
formatMethod · 0.45

Tested by

no test coverage detected