Add a shared Python script to apply to every widget in your dashboard.
- In Dashboards, open the dashboard you want to add a Python script to.
- Click .
In the configuration pane, for Shared scripts, click +. The Script window opens.
Enter a unique name for your script.
Add your Python code to the Script window.
After you finish adding your code, click OK. Dashboards lists the shared script in the configuration pane.
- Click Save and Play to view your dashboard.
To make changes to the shared script, double-click the shared script in the configuration pane.