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

Method executable

plotly/io/_orca.py:372–399  ·  view source on GitHub ↗

The name or full path of the orca executable. - If a name (e.g. 'orca'), then it should be the name of an orca executable on the PATH. The directories on the PATH can be displayed by running the following command: >>> import os >>> prin

(self)

Source from the content-addressed store, hash-verified

370
371 @property
372 def executable(self):
373 """
374 The name or full path of the orca executable.
375
376 - If a name (e.g. 'orca'), then it should be the name of an orca
377 executable on the PATH. The directories on the PATH can be
378 displayed by running the following command:
379
380 >>> import os
381 >>> print(os.environ.get('PATH').replace(os.pathsep, os.linesep))
382
383 - If a full path (e.g. '/path/to/orca'), then
384 it should be the full path to an orca executable. In this case
385 the executable does not need to reside on the PATH.
386
387 If an orca server has been validated, then the full path to the
388 validated orca executable is stored in the
389 plotly.io.orca.status.executable property.
390
391 Returns
392 -------
393 str
394 """
395 executable_list = self._props.get("executable_list", ["orca"])
396 if executable_list is None:
397 return None
398 else:
399 return " ".join(executable_list)
400
401 @executable.setter
402 def executable(self, val):

Callers

nothing calls this directly

Calls 4

reset_statusFunction · 0.85
getMethod · 0.45
popMethod · 0.45
formatMethod · 0.45

Tested by

no test coverage detected