A plot is a definition of a Plotly figure that can be stored and shared on Wizata.
Attributes
| Name | Type | Description |
|---|---|---|
| plot_id | The UUID of the plot. | |
| generatedById | The UUID of the Execution from which the plot was created. | |
| name | A simple name helping the user identifying the plot. | |
| figure | Plotly figure defining the plot itself. |
Methods
api_id()
Id of the plot (plot_id)
return: string formatted UUID of the plot.
endpoint()
Name of the endpoints used to manipulate plots.
return: Endpoint name.
from_json()
Load the Plot entity from a dictionary representation of the Plot.
| Name | Type | Default | Description |
|---|---|---|---|
| obj | Dict version of the Plot. |
set_id()
specify the id_value neutrally
| Name | Type | Default | Description |
|---|---|---|---|
| id_value |
return:
to_json()
Convert the plot to a dictionary compatible to JSON format.
| Name | Type | Default | Description |
|---|---|---|---|
| target | str | None |
return: dictionary representation of the Plot object.