Plots


Jump to API response

This endpoint handles manipulation of Plotly plot files.

Reference

Authorization


Any user with or without a Plotly account may view public plots. For private plots, see authentication.

Actions


list

Listing all public plots can be done via a GET request to this endpoint. By default, plots will be listed in order of date created. The order_by query parameter is accepted at this endpoint. Currently, only ordering by views is supported. It is possible to filter the plots by quality with min_quality or max_quality as query parameter.

Example:

// GET https://api.plotly.com/v2/plots/ ---> 200

// GET https://api.plotly.com/v2/plots/?order_by=-views ---> 200

// GET https://api.plotly.com/v2/plots/?min_quality=5 ---> 200

// GET https://api.plotly.com/v2/plots/?max_quality=5 ---> 200

feed

Listing all handpicked feed plots can be done via a GET request to this endpoint. By default, plots will be listed in a random order.

Example:

// GET https://api.plotly.com/v2/plots/feed ---> 200

create

You can create new plot resources here. The only required field is 'figure'. Currently, the figure is restricted to only contain references to grid data. That is, this will fail if raw data arrays are passed in. To create and manipulate underlying grids for plots, see the grids endpoint.

Example:

// This fails because a figure field is required.
// POST https://api.plotly.com/v2/plots ---> 400 Bad Request
{}

// This fails because the figure has raw data
//POST https://api.plotly.com/v2/plots ---> 400 Bad Request
{
    "figure": {"data": [{"y": ['this', 'is', 'raw', 'data']}]}
}

// This succeeds because the figure has src keys, not raw data.
//POST https://api.plotly.com/v2/plots ---> 200 OK
{
    "figure": {"data": [{"ysrc": "sven:88:u8nd62"}]}
}

When creating a grid, you can optionally specify a source_fid to specify where a plot has come from:

  • source_fid: the fid of a plot that was copied (and presumably edited) to produce this one

detail

There is a lot of meta information stored about plot files including filename, title, share_url, and content_url to name a few.

This information can only be reached with a GET to this endpoint.

Example:

// GET https://api.plotly.com/v2/plots/iheartgraphs:90

content

The contents of a plot can be downloaded via the content resource. The plot content contains referenced grid/column data by default. If you wish to return the raw grid/column data, the inline_data=true query must be included in the request url. The Content-Type header will be appropriately set for the response body.

Alternatively, you can set ?map_data=unreadable to append a mapping of sources to data that belongs to grids which are unreadable for the requestor. This is useful when you have read access to another users plot, but that plot contains grid references which you don't have access to.

Examples:

// Returns referenced grid/column data
// GET https://api.plotly.com/v2/plots/iheartgraphs:90/content ---> 200 OK

// Returns full grid/column data
// GET https://api.plotly.com/v2/plots/iheartgraphs:90/content?inline_data=true ---> 200 OK

// Returns full grid/column data when requestor doesn't have permission
// to read the referenced grid.
// GET https://api.plotly.com/v2/plots/iheartgraphs:90/content?map_data=unreadable ---> 200 OK

GET /v2/plots?cursor=cD0yMDE5LTA2LTE3KzIwJTNBMDUlM0EyNi4wMjgxNDAlMkIwMCUzQTAw&format=api
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "next": "https://api.plot.ly/v2/plots?cursor=cD0yMDE5LTA2LTE3KzE5JTNBNTclM0EzNS4wMDk0MTglMkIwMCUzQTAw&format=api",
    "previous": "https://api.plot.ly/v2/plots?cursor=cj0xJnA9MjAxOS0wNi0xNysyMCUzQTA1JTNBMDcuNDY0OTkxJTJCMDAlM0EwMA%3D%3D&format=api",
    "results": [
        {
            "creation_time": "2019-06-17T20:05:07.464991Z",
            "comments": {
                "results": [],
                "count": 0
            },
            "parented": true,
            "embed_url": "https://chart-studio.plotly.com/~aplukis/2.embed",
            "fid": "aplukis:2",
            "filename": "Evaluation Means: All Courses",
            "filetype": "plot",
            "img_url": "https://api.plotly.com/v2/files/aplukis:2/image?image_name=list-thumb",
            "image_urls": {
                "default": "https://storage.googleapis.com/plotly-prod-images/aplukis/2/2_53GRJTHO319LKHLPFWHBCMWKHFIIAA.png",
                "block-thumb": "https://storage.googleapis.com/plotly-prod-images/aplukis/2/8_SS09AH5LYQBKW314KUTWT6Z2RMQTNT.png",
                "list-thumb": "https://api.plotly.com/v2/files/aplukis:2/image?image_name=list-thumb"
            },
            "api_urls": {
                "files": "https://api.plotly.com/v2/files/aplukis:2",
                "plots": "https://api.plotly.com/v2/plots/aplukis:2",
                "parent": "https://api.plotly.com/v2/folders/home?user=aplukis"
            },
            "owner": "aplukis",
            "parent": -1,
            "preview": "",
            "referencers": [],
            "references": [],
            "title": "Evaluation Means: All Courses",
            "views": 0,
            "web_url": "https://chart-studio.plotly.com/~aplukis/2/evaluation-means-all-courses/",
            "world_readable": true,
            "date_modified": "2019-06-17T20:28:54.938Z",
            "stars": {
                "results": [],
                "count": 0
            },
            "collaborators": {
                "results": [],
                "count": 0
            },
            "subfolder_count": null,
            "refresh_interval": null,
            "organize_view_url": "https://chart-studio.plotly.com/~aplukis/2/",
            "current_user_permission": "read",
            "is_theme": null,
            "is_template": null,
            "autosize": true,
            "caption": "",
            "figure": {
                "data": [
                    {
                        "uid": "151fdc44-802a-4193-9e69-26fbf2098bf8",
                        "name": "Female Faculty",
                        "type": "bar",
                        "xsrc": "aplukis:3:25066c",
                        "ysrc": "aplukis:3:a7d0a1",
                        "marker": {
                            "color": "rgb(233,117,90)"
                        }
                    },
                    {
                        "uid": "8d60e439-0cad-42f0-82c3-ac56698a2c04",
                        "name": "Male Faculty",
                        "type": "bar",
                        "xsrc": "aplukis:3:25066c",
                        "ysrc": "aplukis:3:256370",
                        "marker": {
                            "color": "rgb(72,139,165)"
                        }
                    }
                ],
                "layout": {
                    "title": {
                        "text": "Evaluation Means: All Courses"
                    }
                }
            },
            "height": null,
            "width": null,
            "user": {
                "profile_url": "https://chart-studio.plotly.com/~aplukis",
                "avatar_url": "https://storage.googleapis.com/plotly-prod-profiles/58.jpg",
                "background_url": "https://storage.googleapis.com/plotly-prod-profiles/bg-3.jpg",
                "bio": "",
                "nickname": "",
                "website": "",
                "stream_tokens": null,
                "feature_set_id": null,
                "csrf_token": null,
                "date_joined": "2019-06-14 20:30:43",
                "mapbox_access_tokens": null,
                "has_password": null,
                "username": "aplukis",
                "email": null,
                "is_active": null,
                "readonly": null,
                "is_dash_creator": null,
                "dash_created_count": null,
                "is_chart_creator": null,
                "charts_created_count": null
            }
        },
        {
            "creation_time": "2019-06-17T20:04:49.663701Z",
            "comments": {
                "results": [],
                "count": 0
            },
            "parented": true,
            "embed_url": "https://chart-studio.plotly.com/~ocing66/88.embed",
            "fid": "ocing66:88",
            "filename": "plot from API (14)",
            "filetype": "plot",
            "img_url": "https://api.plotly.com/v2/files/ocing66:88/image?image_name=list-thumb",
            "image_urls": {
                "default": "https://api.plotly.com/v2/files/ocing66:88/image?image_name=default",
                "block-thumb": "https://api.plotly.com/v2/files/ocing66:88/image?image_name=block-thumb",
                "list-thumb": "https://api.plotly.com/v2/files/ocing66:88/image?image_name=list-thumb"
            },
            "api_urls": {
                "files": "https://api.plotly.com/v2/files/ocing66:88",
                "plots": "https://api.plotly.com/v2/plots/ocing66:88",
                "parent": "https://api.plotly.com/v2/folders/home?user=ocing66"
            },
            "owner": "ocing66",
            "parent": -1,
            "preview": "",
            "referencers": [],
            "references": [],
            "title": "Time series with PosHH",
            "views": 63,
            "web_url": "https://chart-studio.plotly.com/~ocing66/88/time-series-with-poshh/",
            "world_readable": true,
            "date_modified": "2019-09-30T12:53:54.217Z",
            "stars": {
                "results": [],
                "count": 0
            },
            "collaborators": {
                "results": [],
                "count": 0
            },
            "subfolder_count": null,
            "refresh_interval": null,
            "organize_view_url": "https://chart-studio.plotly.com/~ocing66/88/",
            "current_user_permission": "read",
            "is_theme": null,
            "is_template": null,
            "autosize": true,
            "caption": "",
            "figure": {
                "data": [
                    {
                        "uid": "2f234c64-dabb-4115-a65c-17d052d93a4c",
                        "type": "scatter",
                        "xsrc": "ocing66:89:bf5499",
                        "ysrc": "ocing66:89:389e8c"
                    }
                ],
                "layout": {
                    "title": {
                        "text": "Time series with PosHH"
                    },
                    "xaxis": {
                        "type": "date",
                        "rangeslider": {
                            "visible": true
                        },
                        "rangeselector": {
                            "buttons": [
                                {
                                    "step": "month",
                                    "count": 1,
                                    "label": "1m",
                                    "stepmode": "backward"
                                },
                                {
                                    "step": "month",
                                    "count": 6,
                                    "label": "6m",
                                    "stepmode": "backward"
                                },
                                {
                                    "step": "year",
                                    "count": 1,
                                    "label": "YTD",
                                    "stepmode": "todate"
                                },
                                {
                                    "step": "year",
                                    "count": 1,
                                    "label": "1y",
                                    "stepmode": "backward"
                                },
                                {
                                    "step": "all"
                                }
                            ]
                        }
                    }
                }
            },
            "height": null,
            "width": null,
            "user": {
                "profile_url": "https://chart-studio.plotly.com/~ocing66",
                "avatar_url": "https://storage.googleapis.com/plotly-prod-profiles/1.jpg",
                "background_url": "https://storage.googleapis.com/plotly-prod-profiles/bg-1.jpg",
                "bio": "",
                "nickname": "",
                "website": "",
                "stream_tokens": null,
                "feature_set_id": null,
                "csrf_token": null,
                "date_joined": "2019-05-25 13:37:08",
                "mapbox_access_tokens": null,
                "has_password": null,
                "username": "ocing66",
                "email": null,
                "is_active": null,
                "readonly": null,
                "is_dash_creator": null,
                "dash_created_count": null,
                "is_chart_creator": null,
                "charts_created_count": null
            }
        },
        {
            "creation_time": "2019-06-17T20:03:35.822607Z",
            "comments": {
                "results": [],
                "count": 0
            },
            "parented": true,
            "embed_url": "https://chart-studio.plotly.com/~gsedor/29.embed",
            "fid": "gsedor:29",
            "filename": "table demo",
            "filetype": "plot",
            "img_url": "https://api.plotly.com/v2/files/gsedor:29/image?image_name=list-thumb",
            "image_urls": {
                "default": "https://storage.googleapis.com/plotly-prod-images/gsedor/29/2_TV81ZR1UOZIGSKH4LHF9X8WUBEI29I.png",
                "block-thumb": "https://storage.googleapis.com/plotly-prod-images/gsedor/29/8_EJZ2AF40L3JCJOXI7FTQHUOXXC5IW0.png",
                "list-thumb": "https://api.plotly.com/v2/files/gsedor:29/image?image_name=list-thumb"
            },
            "api_urls": {
                "files": "https://api.plotly.com/v2/files/gsedor:29",
                "plots": "https://api.plotly.com/v2/plots/gsedor:29",
                "parent": "https://api.plotly.com/v2/folders/home?user=gsedor"
            },
            "owner": "gsedor",
            "parent": -1,
            "preview": "",
            "referencers": [],
            "references": [],
            "title": "",
            "views": 0,
            "web_url": "https://chart-studio.plotly.com/~gsedor/29/",
            "world_readable": true,
            "date_modified": "2019-06-17T23:48:35.750Z",
            "stars": {
                "results": [],
                "count": 0
            },
            "collaborators": {
                "results": [],
                "count": 0
            },
            "subfolder_count": null,
            "refresh_interval": null,
            "organize_view_url": "https://chart-studio.plotly.com/~gsedor/29/",
            "current_user_permission": "read",
            "is_theme": null,
            "is_template": null,
            "autosize": true,
            "caption": "",
            "figure": {
                "data": [
                    {
                        "uid": "430f26d8-58ec-41da-80b4-dbb77ad4ed88",
                        "type": "table",
                        "cells": {
                            "fill": {
                                "colorsrc": "gsedor:30:73b2e6"
                            },
                            "line": {
                                "color": "rgb(40,40,40)"
                            },
                            "height": 30,
                            "alignsrc": "gsedor:30:c97600",
                            "valuessrc": "gsedor:30:1f65b2,e99147,1c498b"
                        },
                        "header": {
                            "fill": {
                                "color": "rgb(240,240,240)"
                            },
                            "font": {
                                "size": 14
                            },
                            "line": {
                                "color": "rgb(40,40,40)"
                            },
                            "height": 0,
                            "alignsrc": "gsedor:30:fd0fa7",
                            "valuessrc": "gsedor:30:3f5a38"
                        },
                        "columnordersrc": "gsedor:30:2d4d29",
                        "columnwidthsrc": "gsedor:30:5339ff"
                    }
                ],
                "layout": {
                    "width": 500,
                    "paper_bgcolor": "rgba(20,100,200,.6)"
                }
            },
            "height": null,
            "width": 500,
            "user": {
                "profile_url": "https://chart-studio.plotly.com/~gsedor",
                "avatar_url": "https://storage.googleapis.com/plotly-prod-profiles/40.jpg",
                "background_url": "https://storage.googleapis.com/plotly-prod-profiles/bg-6.jpg",
                "bio": "",
                "nickname": "",
                "website": "",
                "stream_tokens": null,
                "feature_set_id": null,
                "csrf_token": null,
                "date_joined": "2019-01-02 20:18:56",
                "mapbox_access_tokens": null,
                "has_password": null,
                "username": "gsedor",
                "email": null,
                "is_active": null,
                "readonly": null,
                "is_dash_creator": null,
                "dash_created_count": null,
                "is_chart_creator": null,
                "charts_created_count": null
            }
        },
        {
            "creation_time": "2019-06-17T20:02:38.195160Z",
            "comments": {
                "results": [],
                "count": 0
            },
            "parented": true,
            "embed_url": "https://chart-studio.plotly.com/~jingwenc/89.embed",
            "fid": "jingwenc:89",
            "filename": "plot from API",
            "filetype": "plot",
            "img_url": "https://api.plotly.com/v2/files/jingwenc:89/image?image_name=list-thumb",
            "image_urls": {
                "default": "https://api.plotly.com/v2/files/jingwenc:89/image?image_name=default",
                "block-thumb": "https://api.plotly.com/v2/files/jingwenc:89/image?image_name=block-thumb",
                "list-thumb": "https://api.plotly.com/v2/files/jingwenc:89/image?image_name=list-thumb"
            },
            "api_urls": {
                "files": "https://api.plotly.com/v2/files/jingwenc:89",
                "plots": "https://api.plotly.com/v2/plots/jingwenc:89",
                "parent": "https://api.plotly.com/v2/folders/home?user=jingwenc"
            },
            "owner": "jingwenc",
            "parent": -1,
            "preview": "",
            "referencers": [],
            "references": [],
            "title": "Time series with range slider and selectors",
            "views": 1,
            "web_url": "https://chart-studio.plotly.com/~jingwenc/89/time-series-with-range-slider-and-selectors/",
            "world_readable": true,
            "date_modified": "2019-06-17T20:02:38.769Z",
            "stars": {
                "results": [],
                "count": 0
            },
            "collaborators": {
                "results": [],
                "count": 0
            },
            "subfolder_count": null,
            "refresh_interval": null,
            "organize_view_url": "https://chart-studio.plotly.com/~jingwenc/89/",
            "current_user_permission": "read",
            "is_theme": null,
            "is_template": null,
            "autosize": true,
            "caption": "",
            "figure": {
                "data": [
                    {
                        "uid": "309aee50-894f-4a77-bcaf-02fde6cc1d9b",
                        "type": "scatter",
                        "xsrc": "jingwenc:90:a9d463",
                        "ysrc": "jingwenc:90:304ff0"
                    }
                ],
                "layout": {
                    "title": {
                        "text": "Time series with range slider and selectors"
                    },
                    "xaxis": {
                        "type": "date",
                        "rangeslider": {
                            "visible": true
                        },
                        "rangeselector": {
                            "buttons": [
                                {
                                    "step": "month",
                                    "count": 1,
                                    "label": "1m",
                                    "stepmode": "backward"
                                },
                                {
                                    "step": "month",
                                    "count": 6,
                                    "label": "6m",
                                    "stepmode": "backward"
                                },
                                {
                                    "step": "year",
                                    "count": 1,
                                    "label": "YTD",
                                    "stepmode": "todate"
                                },
                                {
                                    "step": "year",
                                    "count": 1,
                                    "label": "1y",
                                    "stepmode": "backward"
                                },
                                {
                                    "step": "all"
                                }
                            ]
                        }
                    }
                }
            },
            "height": null,
            "width": null,
            "user": {
                "profile_url": "https://chart-studio.plotly.com/~jingwenc",
                "avatar_url": "https://storage.googleapis.com/plotly-prod-profiles/37.jpg",
                "background_url": "https://storage.googleapis.com/plotly-prod-profiles/bg-1.jpg",
                "bio": "",
                "nickname": "",
                "website": "",
                "stream_tokens": null,
                "feature_set_id": null,
                "csrf_token": null,
                "date_joined": "2018-02-20 18:49:11",
                "mapbox_access_tokens": null,
                "has_password": null,
                "username": "jingwenc",
                "email": null,
                "is_active": null,
                "readonly": null,
                "is_dash_creator": null,
                "dash_created_count": null,
                "is_chart_creator": null,
                "charts_created_count": null
            }
        },
        {
            "creation_time": "2019-06-17T20:01:53.777042Z",
            "comments": {
                "results": [],
                "count": 0
            },
            "parented": true,
            "embed_url": "https://chart-studio.plotly.com/~fporrata/2.embed",
            "fid": "fporrata:2",
            "filename": "pandas-multiple-scatter",
            "filetype": "plot",
            "img_url": "https://api.plotly.com/v2/files/fporrata:2/image?image_name=list-thumb",
            "image_urls": {
                "default": "https://api.plotly.com/v2/files/fporrata:2/image?image_name=default",
                "block-thumb": "https://api.plotly.com/v2/files/fporrata:2/image?image_name=block-thumb",
                "list-thumb": "https://api.plotly.com/v2/files/fporrata:2/image?image_name=list-thumb"
            },
            "api_urls": {
                "files": "https://api.plotly.com/v2/files/fporrata:2",
                "plots": "https://api.plotly.com/v2/plots/fporrata:2",
                "parent": "https://api.plotly.com/v2/folders/home?user=fporrata"
            },
            "owner": "fporrata",
            "parent": -1,
            "preview": "",
            "referencers": [],
            "references": [],
            "title": "Life Expectancy vs GDP per Capita",
            "views": 4,
            "web_url": "https://chart-studio.plotly.com/~fporrata/2/life-expectancy-vs-gdp-per-capita/",
            "world_readable": true,
            "date_modified": "2019-06-17T20:01:54.254Z",
            "stars": {
                "results": [],
                "count": 0
            },
            "collaborators": {
                "results": [],
                "count": 0
            },
            "subfolder_count": null,
            "refresh_interval": null,
            "organize_view_url": "https://chart-studio.plotly.com/~fporrata/2/",
            "current_user_permission": "read",
            "is_theme": null,
            "is_template": null,
            "autosize": true,
            "caption": "",
            "figure": {
                "data": [
                    {
                        "uid": "e4c6ac04-3883-4bb6-b782-df14f0df041a",
                        "mode": "markers",
                        "name": "2007",
                        "type": "scatter",
                        "xsrc": "fporrata:3:cd98d4",
                        "ysrc": "fporrata:3:85cdda",
                        "textsrc": "fporrata:3:b2124f"
                    }
                ],
                "layout": {
                    "xaxis": {
                        "type": "log",
                        "title": {
                            "text": "GDP per Capita"
                        }
                    },
                    "yaxis": {
                        "title": {
                            "text": "Life Expectancy"
                        }
                    }
                }
            },
            "height": null,
            "width": null,
            "user": {
                "profile_url": "https://chart-studio.plotly.com/~fporrata",
                "avatar_url": "https://storage.googleapis.com/plotly-prod-profiles/89.jpg",
                "background_url": "https://storage.googleapis.com/plotly-prod-profiles/bg-13.jpg",
                "bio": "",
                "nickname": "",
                "website": "",
                "stream_tokens": null,
                "feature_set_id": null,
                "csrf_token": null,
                "date_joined": "2019-06-17 18:45:31",
                "mapbox_access_tokens": null,
                "has_password": null,
                "username": "fporrata",
                "email": null,
                "is_active": null,
                "readonly": null,
                "is_dash_creator": null,
                "dash_created_count": null,
                "is_chart_creator": null,
                "charts_created_count": null
            }
        },
        {
            "creation_time": "2019-06-17T20:00:07.372122Z",
            "comments": {
                "results": [],
                "count": 0
            },
            "parented": true,
            "embed_url": "https://chart-studio.plotly.com/~olliefielding/7.embed",
            "fid": "olliefielding:7",
            "filename": "gauge-meter-chart",
            "filetype": "plot",
            "img_url": "https://api.plotly.com/v2/files/olliefielding:7/image?image_name=list-thumb",
            "image_urls": {
                "default": "https://api.plotly.com/v2/files/olliefielding:7/image?image_name=default",
                "block-thumb": "https://api.plotly.com/v2/files/olliefielding:7/image?image_name=block-thumb",
                "list-thumb": "https://api.plotly.com/v2/files/olliefielding:7/image?image_name=list-thumb"
            },
            "api_urls": {
                "files": "https://api.plotly.com/v2/files/olliefielding:7",
                "plots": "https://api.plotly.com/v2/plots/olliefielding:7",
                "parent": "https://api.plotly.com/v2/folders/home?user=olliefielding"
            },
            "owner": "olliefielding",
            "parent": -1,
            "preview": "",
            "referencers": [],
            "references": [],
            "title": "Risk of renal failure in next six months",
            "views": 0,
            "web_url": "https://chart-studio.plotly.com/~olliefielding/7/risk-of-renal-failure-in-next-six-months/",
            "world_readable": true,
            "date_modified": "2019-06-18T15:21:44.047Z",
            "stars": {
                "results": [],
                "count": 0
            },
            "collaborators": {
                "results": [],
                "count": 0
            },
            "subfolder_count": null,
            "refresh_interval": null,
            "organize_view_url": "https://chart-studio.plotly.com/~olliefielding/7/",
            "current_user_permission": "read",
            "is_theme": null,
            "is_template": null,
            "autosize": true,
            "caption": "",
            "figure": {
                "data": [
                    {
                        "hole": 0.4,
                        "name": "Risk of renal failure in next six months",
                        "sort": false,
                        "type": "pie",
                        "domain": {
                            "x": [
                                0,
                                0.48
                            ]
                        },
                        "marker": {
                            "line": {
                                "width": 0
                            },
                            "colors": [
                                "rgb(255, 255, 255)",
                                "rgb(255, 255, 255)",
                                "rgb(255, 255, 255)",
                                "rgb(255, 255, 255)",
                                "rgb(255, 255, 255)",
                                "rgb(255, 255, 255)",
                                "rgb(255, 255, 255)"
                            ]
                        },
                        "rotation": 90,
                        "direction": "clockwise",
                        "hoverinfo": "none",
                        "valuessrc": "olliefielding:8:aec747",
                        "showlegend": false
                    },
                    {
                        "hole": 0.3,
                        "name": "Risk of renal failure in next six months",
                        "sort": false,
                        "type": "pie",
                        "domain": {
                            "x": [
                                0,
                                0.48
                            ]
                        },
                        "marker": {
                            "colors": [
                                "rgb(255, 255, 255)",
                                "rgb(37,166,47)",
                                "rgb(248,139,0)",
                                "rgb(191,9,9)"
                            ]
                        },
                        "rotation": 90,
                        "textinfo": "label",
                        "direction": "clockwise",
                        "hoverinfo": "none",
                        "labelssrc": "olliefielding:8:c9225c",
                        "valuessrc": "olliefielding:8:aec747",
                        "showlegend": false,
                        "textposition": "inside"
                    }
                ],
                "layout": {
                    "title": {
                        "text": "Risk of renal failure in next six months"
                    },
                    "xaxis": {
                        "showgrid": false,
                        "zeroline": false,
                        "showticklabels": false
                    },
                    "yaxis": {
                        "showgrid": false,
                        "zeroline": false,
                        "showticklabels": false
                    },
                    "shapes": [
                        {
                            "line": {
                                "width": 0.5
                            },
                            "path": "M 0.235 0.5 L 0.3649024206708463 0.5830625385511601 L 0.245 0.5 Z",
                            "type": "path",
                            "xref": "paper",
                            "yref": "paper",
                            "fillcolor": "rgba(0, 0, 0, 0.5)"
                        }
                    ],
                    "annotations": [
                        {
                            "x": 0.23,
                            "y": 0.45,
                            "text": 81,
                            "xref": "paper",
                            "yref": "paper",
                            "showarrow": false
                        }
                    ]
                }
            },
            "height": null,
            "width": null,
            "user": {
                "profile_url": "https://chart-studio.plotly.com/~olliefielding",
                "avatar_url": "https://storage.googleapis.com/plotly-prod-profiles/40.jpg",
                "background_url": "https://storage.googleapis.com/plotly-prod-profiles/bg-5.jpg",
                "bio": "",
                "nickname": "",
                "website": "",
                "stream_tokens": null,
                "feature_set_id": null,
                "csrf_token": null,
                "date_joined": "2017-03-02 22:01:58",
                "mapbox_access_tokens": null,
                "has_password": null,
                "username": "olliefielding",
                "email": null,
                "is_active": null,
                "readonly": null,
                "is_dash_creator": null,
                "dash_created_count": null,
                "is_chart_creator": null,
                "charts_created_count": null
            }
        },
        {
            "creation_time": "2019-06-17T19:57:59.989771Z",
            "comments": {
                "results": [],
                "count": 0
            },
            "parented": true,
            "embed_url": "https://chart-studio.plotly.com/~granoifi/514.embed",
            "fid": "granoifi:514",
            "filename": "multiple-axes-multiple",
            "filetype": "plot",
            "img_url": "https://api.plotly.com/v2/files/granoifi:514/image?image_name=list-thumb",
            "image_urls": {
                "default": "https://storage.googleapis.com/plotly-prod-images/granoifi/514/2_XMO3G0CD2F9CD4TU8DOZ6H9C2B0PPV.png",
                "block-thumb": "https://storage.googleapis.com/plotly-prod-images/granoifi/514/8_4TH1MHU40OVR99CHSVJ9Q2UNY3AKUC.png",
                "list-thumb": "https://api.plotly.com/v2/files/granoifi:514/image?image_name=list-thumb"
            },
            "api_urls": {
                "files": "https://api.plotly.com/v2/files/granoifi:514",
                "plots": "https://api.plotly.com/v2/plots/granoifi:514",
                "parent": "https://api.plotly.com/v2/folders/home?user=granoifi"
            },
            "owner": "granoifi",
            "parent": -1,
            "preview": "",
            "referencers": [],
            "references": [],
            "title": "multiple y-axes example",
            "views": 3,
            "web_url": "https://chart-studio.plotly.com/~granoifi/514/multiple-y-axes-example/",
            "world_readable": true,
            "date_modified": "2019-06-17T20:03:52.009Z",
            "stars": {
                "results": [],
                "count": 0
            },
            "collaborators": {
                "results": [],
                "count": 0
            },
            "subfolder_count": null,
            "refresh_interval": null,
            "organize_view_url": "https://chart-studio.plotly.com/~granoifi/514/",
            "current_user_permission": "read",
            "is_theme": null,
            "is_template": null,
            "autosize": true,
            "caption": "",
            "figure": {
                "data": [
                    {
                        "name": "yaxis1 data",
                        "type": "scatter",
                        "xsrc": "granoifi:515:cbff90",
                        "ysrc": "granoifi:515:25beb0"
                    },
                    {
                        "name": "yaxis2 data",
                        "type": "scatter",
                        "xsrc": "granoifi:515:775921",
                        "ysrc": "granoifi:515:9bc50d",
                        "yaxis": "y2"
                    },
                    {
                        "name": "yaxis3 data",
                        "type": "scatter",
                        "xsrc": "granoifi:515:d43ed6",
                        "ysrc": "granoifi:515:aef7a5",
                        "yaxis": "y3"
                    },
                    {
                        "name": "yaxis4 data",
                        "type": "scatter",
                        "xsrc": "granoifi:515:b2c40c",
                        "ysrc": "granoifi:515:fd9d50",
                        "yaxis": "y4"
                    }
                ],
                "layout": {
                    "title": "multiple y-axes example",
                    "width": 800,
                    "xaxis": {
                        "domain": [
                            0.3,
                            0.7
                        ]
                    },
                    "yaxis": {
                        "title": "yaxis title",
                        "tickfont": {
                            "color": "#1f77b4"
                        },
                        "titlefont": {
                            "color": "#1f77b4"
                        }
                    },
                    "yaxis2": {
                        "side": "left",
                        "title": "yaxis2 title",
                        "anchor": "free",
                        "position": 0.15,
                        "tickfont": {
                            "color": "#ff7f0e"
                        },
                        "titlefont": {
                            "color": "#ff7f0e"
                        },
                        "overlaying": "y"
                    },
                    "yaxis3": {
                        "side": "right",
                        "title": "yaxis4 title",
                        "anchor": "x",
                        "tickfont": {
                            "color": "#d62728"
                        },
                        "titlefont": {
                            "color": "#d62728"
                        },
                        "overlaying": "y"
                    },
                    "yaxis4": {
                        "side": "right",
                        "title": "yaxis5 title",
                        "anchor": "free",
                        "position": 0.85,
                        "tickfont": {
                            "color": "#9467bd"
                        },
                        "titlefont": {
                            "color": "#9467bd"
                        },
                        "overlaying": "y"
                    }
                }
            },
            "height": null,
            "width": 800,
            "user": {
                "profile_url": "https://chart-studio.plotly.com/~granoifi",
                "avatar_url": "https://storage.googleapis.com/plotly-prod-profiles/77.jpg",
                "background_url": "https://storage.googleapis.com/plotly-prod-profiles/bg-0.jpg",
                "bio": "",
                "nickname": "",
                "website": "",
                "stream_tokens": null,
                "feature_set_id": null,
                "csrf_token": null,
                "date_joined": "2017-01-15 17:23:14",
                "mapbox_access_tokens": null,
                "has_password": null,
                "username": "granoifi",
                "email": null,
                "is_active": null,
                "readonly": null,
                "is_dash_creator": null,
                "dash_created_count": null,
                "is_chart_creator": null,
                "charts_created_count": null
            }
        },
        {
            "creation_time": "2019-06-17T19:57:48.440474Z",
            "comments": {
                "results": [],
                "count": 0
            },
            "parented": true,
            "embed_url": "https://chart-studio.plotly.com/~liang.gi/18.embed",
            "fid": "liang.gi:18",
            "filename": "444.graph",
            "filetype": "plot",
            "img_url": "https://api.plotly.com/v2/files/liang.gi:18/image?image_name=list-thumb",
            "image_urls": {
                "default": "https://api.plotly.com/v2/files/liang.gi:18/image?image_name=default",
                "block-thumb": "https://storage.googleapis.com/plotly-prod-images/liang.gi/18/8_VA8X3G78NTQDAB4S5343MX1JPHHLEC.png",
                "list-thumb": "https://api.plotly.com/v2/files/liang.gi:18/image?image_name=list-thumb"
            },
            "api_urls": {
                "files": "https://api.plotly.com/v2/files/liang.gi:18",
                "plots": "https://api.plotly.com/v2/plots/liang.gi:18",
                "parent": "https://api.plotly.com/v2/folders/home?user=liang.gi"
            },
            "owner": "liang.gi",
            "parent": -1,
            "preview": "",
            "referencers": [],
            "references": [],
            "title": "Sample Rate vs Time",
            "views": 0,
            "web_url": "https://chart-studio.plotly.com/~liang.gi/18/sample-rate-vs-time/",
            "world_readable": true,
            "date_modified": "2019-06-18T15:18:52.186Z",
            "stars": {
                "results": [],
                "count": 0
            },
            "collaborators": {
                "results": [],
                "count": 0
            },
            "subfolder_count": null,
            "refresh_interval": null,
            "organize_view_url": "https://chart-studio.plotly.com/~liang.gi/18/",
            "current_user_permission": "read",
            "is_theme": null,
            "is_template": null,
            "autosize": true,
            "caption": "",
            "figure": {
                "data": [
                    {
                        "uid": "a74cdb22-b890-448f-8bdd-bf2a21516ec1",
                        "mode": "lines",
                        "name": "Sampling_rate",
                        "type": "scatter",
                        "xsrc": "liang.gi:19:72125a",
                        "ysrc": "liang.gi:19:92d964"
                    }
                ],
                "layout": {
                    "title": {
                        "text": "Sample Rate vs Time"
                    },
                    "xaxis": {
                        "title": {
                            "font": {
                                "size": 18,
                                "color": "black",
                                "family": "Times New Roman, monospace"
                            },
                            "text": "Recorded Time"
                        }
                    },
                    "yaxis": {
                        "title": {
                            "font": {
                                "size": 18,
                                "color": "black",
                                "family": "Times New Roman, monospace"
                            },
                            "text": "Sampling Rate (hertz)"
                        }
                    }
                }
            },
            "height": null,
            "width": null,
            "user": {
                "profile_url": "https://chart-studio.plotly.com/~liang.gi",
                "avatar_url": "https://storage.googleapis.com/plotly-prod-profiles/21.jpg",
                "background_url": "https://storage.googleapis.com/plotly-prod-profiles/bg-0.jpg",
                "bio": "",
                "nickname": "",
                "website": "",
                "stream_tokens": null,
                "feature_set_id": null,
                "csrf_token": null,
                "date_joined": "2019-06-14 18:05:18",
                "mapbox_access_tokens": null,
                "has_password": null,
                "username": "liang.gi",
                "email": null,
                "is_active": null,
                "readonly": null,
                "is_dash_creator": null,
                "dash_created_count": null,
                "is_chart_creator": null,
                "charts_created_count": null
            }
        },
        {
            "creation_time": "2019-06-17T19:57:43.436895Z",
            "comments": {
                "results": [],
                "count": 0
            },
            "parented": true,
            "embed_url": "https://chart-studio.plotly.com/~liang.gi/16.embed",
            "fid": "liang.gi:16",
            "filename": "862.graph",
            "filetype": "plot",
            "img_url": "https://api.plotly.com/v2/files/liang.gi:16/image?image_name=list-thumb",
            "image_urls": {
                "default": "https://api.plotly.com/v2/files/liang.gi:16/image?image_name=default",
                "block-thumb": "https://storage.googleapis.com/plotly-prod-images/liang.gi/16/8_G03B10561BK5ZXP1T4HSAA01Y5SBP7.png",
                "list-thumb": "https://api.plotly.com/v2/files/liang.gi:16/image?image_name=list-thumb"
            },
            "api_urls": {
                "files": "https://api.plotly.com/v2/files/liang.gi:16",
                "plots": "https://api.plotly.com/v2/plots/liang.gi:16",
                "parent": "https://api.plotly.com/v2/folders/home?user=liang.gi"
            },
            "owner": "liang.gi",
            "parent": -1,
            "preview": "",
            "referencers": [],
            "references": [],
            "title": "Sample Rate vs Time",
            "views": 0,
            "web_url": "https://chart-studio.plotly.com/~liang.gi/16/sample-rate-vs-time/",
            "world_readable": true,
            "date_modified": "2019-06-18T15:18:45.621Z",
            "stars": {
                "results": [],
                "count": 0
            },
            "collaborators": {
                "results": [],
                "count": 0
            },
            "subfolder_count": null,
            "refresh_interval": null,
            "organize_view_url": "https://chart-studio.plotly.com/~liang.gi/16/",
            "current_user_permission": "read",
            "is_theme": null,
            "is_template": null,
            "autosize": true,
            "caption": "",
            "figure": {
                "data": [
                    {
                        "uid": "8b79836d-30bc-444d-a845-9b10030facae",
                        "mode": "lines",
                        "name": "Sampling_rate",
                        "type": "scatter",
                        "xsrc": "liang.gi:17:41e572",
                        "ysrc": "liang.gi:17:178b3a"
                    }
                ],
                "layout": {
                    "title": {
                        "text": "Sample Rate vs Time"
                    },
                    "xaxis": {
                        "title": {
                            "font": {
                                "size": 18,
                                "color": "black",
                                "family": "Times New Roman, monospace"
                            },
                            "text": "Recorded Time"
                        }
                    },
                    "yaxis": {
                        "title": {
                            "font": {
                                "size": 18,
                                "color": "black",
                                "family": "Times New Roman, monospace"
                            },
                            "text": "Sampling Rate (hertz)"
                        }
                    }
                }
            },
            "height": null,
            "width": null,
            "user": {
                "profile_url": "https://chart-studio.plotly.com/~liang.gi",
                "avatar_url": "https://storage.googleapis.com/plotly-prod-profiles/21.jpg",
                "background_url": "https://storage.googleapis.com/plotly-prod-profiles/bg-0.jpg",
                "bio": "",
                "nickname": "",
                "website": "",
                "stream_tokens": null,
                "feature_set_id": null,
                "csrf_token": null,
                "date_joined": "2019-06-14 18:05:18",
                "mapbox_access_tokens": null,
                "has_password": null,
                "username": "liang.gi",
                "email": null,
                "is_active": null,
                "readonly": null,
                "is_dash_creator": null,
                "dash_created_count": null,
                "is_chart_creator": null,
                "charts_created_count": null
            }
        },
        {
            "creation_time": "2019-06-17T19:57:35.009418Z",
            "comments": {
                "results": [],
                "count": 0
            },
            "parented": true,
            "embed_url": "https://chart-studio.plotly.com/~liang.gi/14.embed",
            "fid": "liang.gi:14",
            "filename": "447.graph",
            "filetype": "plot",
            "img_url": "https://api.plotly.com/v2/files/liang.gi:14/image?image_name=list-thumb",
            "image_urls": {
                "default": "https://api.plotly.com/v2/files/liang.gi:14/image?image_name=default",
                "block-thumb": "https://storage.googleapis.com/plotly-prod-images/liang.gi/14/8_WZ4C2KVFZ3GL635ID37N4DTJJS1EI8.png",
                "list-thumb": "https://api.plotly.com/v2/files/liang.gi:14/image?image_name=list-thumb"
            },
            "api_urls": {
                "files": "https://api.plotly.com/v2/files/liang.gi:14",
                "plots": "https://api.plotly.com/v2/plots/liang.gi:14",
                "parent": "https://api.plotly.com/v2/folders/home?user=liang.gi"
            },
            "owner": "liang.gi",
            "parent": -1,
            "preview": "",
            "referencers": [],
            "references": [],
            "title": "Sample Rate vs Time",
            "views": 0,
            "web_url": "https://chart-studio.plotly.com/~liang.gi/14/sample-rate-vs-time/",
            "world_readable": true,
            "date_modified": "2019-06-18T15:18:34.462Z",
            "stars": {
                "results": [],
                "count": 0
            },
            "collaborators": {
                "results": [],
                "count": 0
            },
            "subfolder_count": null,
            "refresh_interval": null,
            "organize_view_url": "https://chart-studio.plotly.com/~liang.gi/14/",
            "current_user_permission": "read",
            "is_theme": null,
            "is_template": null,
            "autosize": true,
            "caption": "",
            "figure": {
                "data": [
                    {
                        "uid": "11e94d5f-e82d-4430-960f-29b88db72ede",
                        "mode": "lines",
                        "name": "Sampling_rate",
                        "type": "scatter",
                        "xsrc": "liang.gi:15:6bb7a5",
                        "ysrc": "liang.gi:15:b5fe1b"
                    }
                ],
                "layout": {
                    "title": {
                        "text": "Sample Rate vs Time"
                    },
                    "xaxis": {
                        "title": {
                            "font": {
                                "size": 18,
                                "color": "black",
                                "family": "Times New Roman, monospace"
                            },
                            "text": "Recorded Time"
                        }
                    },
                    "yaxis": {
                        "title": {
                            "font": {
                                "size": 18,
                                "color": "black",
                                "family": "Times New Roman, monospace"
                            },
                            "text": "Sampling Rate (hertz)"
                        }
                    }
                }
            },
            "height": null,
            "width": null,
            "user": {
                "profile_url": "https://chart-studio.plotly.com/~liang.gi",
                "avatar_url": "https://storage.googleapis.com/plotly-prod-profiles/21.jpg",
                "background_url": "https://storage.googleapis.com/plotly-prod-profiles/bg-0.jpg",
                "bio": "",
                "nickname": "",
                "website": "",
                "stream_tokens": null,
                "feature_set_id": null,
                "csrf_token": null,
                "date_joined": "2019-06-14 18:05:18",
                "mapbox_access_tokens": null,
                "has_password": null,
                "username": "liang.gi",
                "email": null,
                "is_active": null,
                "readonly": null,
                "is_dash_creator": null,
                "dash_created_count": null,
                "is_chart_creator": null,
                "charts_created_count": null
            }
        }
    ]
}