From 3a6ba61f91fbf277b1624cb8458a35672eba98b8 Mon Sep 17 00:00:00 2001 From: Antoine Roy-Gobeil Date: Mon, 6 Jan 2020 13:10:49 -0500 Subject: [PATCH] document usage of an externally hosted Orca instance --- doc/python/static-image-export.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/python/static-image-export.md b/doc/python/static-image-export.md index 16dd6c0abee..34e4092b549 100644 --- a/doc/python/static-image-export.md +++ b/doc/python/static-image-export.md @@ -64,6 +64,19 @@ If you are unable to install conda or npm, you can install orca as a precompiled ``` $ pip install psutil requests ``` + +##### Externally Hosted Orca + pip +If you already run an instance of [orca](https://github.com/plotly/orca) on your network, there's no need to install it. +You can simply point to it in your Python code. + +```python +import plotly +# specify URL to Orca's endpoint +plotly.io.orca.config.server_url = "http://localhost:9091" +``` + +Note that for this to work, you still need to first `requests` and `psutil`. + ### Create a Figure