Skip to content

Commit

Permalink
1.54.0
Browse files Browse the repository at this point in the history
  • Loading branch information
archmoj committed Apr 30, 2020
1 parent 0066143 commit f24c765
Show file tree
Hide file tree
Showing 26 changed files with 27,025 additions and 10,315 deletions.
2 changes: 1 addition & 1 deletion build/plotcss.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ var rules = {
"X .select-outline": "fill:none;stroke-width:1;shape-rendering:crispEdges;",
"X .select-outline-1": "stroke:white;",
"X .select-outline-2": "stroke:black;stroke-dasharray:2px 2px;",
Y: "font-family:'Open Sans';position:fixed;top:50px;right:20px;z-index:10000;font-size:10pt;max-width:180px;",
Y: "font-family:'Open Sans', verdana, arial, sans-serif;position:fixed;top:50px;right:20px;z-index:10000;font-size:10pt;max-width:180px;",
"Y p": "margin:0;",
"Y .notifier-note": "min-width:180px;max-width:250px;border:1px solid #fff;z-index:3000;margin:0;background-color:#8c97af;background-color:rgba(140,151,175,0.9);color:#fff;padding:10px;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-webkit-hyphens:auto;hyphens:auto;",
"Y .notifier-close": "color:#fff;opacity:0.8;float:right;padding:0 5px;background:none;border:none;font-size:20px;font-weight:bold;line-height:20px;",
Expand Down
50 changes: 25 additions & 25 deletions dist/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ object. This property must be set before the plotly.js script tag, for example:
Plotly.js defaults to US English (en-US) and includes British English (en) in the standard bundle.
Many other localizations are available - here is an example using Swiss-German (de-CH),
see the contents of this directory for the full list.
They are also available on our CDN as https://cdn.plot.ly/plotly-locale-de-ch-latest.js OR https://cdn.plot.ly/plotly-locale-de-ch-1.53.0.js
They are also available on our CDN as https://cdn.plot.ly/plotly-locale-de-ch-latest.js OR https://cdn.plot.ly/plotly-locale-de-ch-1.54.0.js
Note that the file names are all lowercase, even though the region is uppercase when you apply a locale.

*After* the plotly.js script tag, add:
Expand All @@ -74,12 +74,12 @@ The main plotly.js bundle includes all the official (non-beta) trace modules.

It be can imported as minified javascript
- using dist file `dist/plotly.min.js`
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.53.0.min.js
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.54.0.min.js

or as raw javascript:
- using the `plotly.js-dist` npm package (starting in `v1.39.0`)
- using dist file `dist/plotly.js`
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.53.0.js
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.54.0.js
- using CommonJS with `require('plotly.js')`

If you would like to have access to the attribute meta information (including attribute descriptions as on the [schema reference page](https://plotly.com/javascript/reference/)), use dist file `dist/plotly-with-meta.js`
Expand All @@ -88,7 +88,7 @@ The main plotly.js bundle weights in at:

| plotly.js | plotly.min.js | plotly.min.js + gzip | plotly-with-meta.js |
|-----------|---------------|----------------------|---------------------|
| 6.9 MB | 3.2 MB | 961.9 kB | 7.2 MB |
| 7 MB | 3.3 MB | 985.5 kB | 7.3 MB |

## Partial bundles

Expand All @@ -114,16 +114,16 @@ The `basic` partial bundle contains trace modules `scatter`, `bar` and `pie`.

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.4 MB | 865.6 kB | 284.6 kB |
| 2.5 MB | 888 kB | 292.5 kB |

#### CDN links

| Flavor | URL |
| ------ | --- |
| Latest | https://cdn.plot.ly/plotly-basic-latest.js |
| Latest minified | https://cdn.plot.ly/plotly-basic-latest.min.js |
| Tagged | https://cdn.plot.ly/plotly-basic-1.53.0.js |
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.53.0.min.js |
| Tagged | https://cdn.plot.ly/plotly-basic-1.54.0.js |
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.54.0.min.js |

#### npm package (starting in `v1.39.0`)

Expand Down Expand Up @@ -167,16 +167,16 @@ The `cartesian` partial bundle contains trace modules `scatter`, `bar`, `box`, `

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.8 MB | 995.9 kB | 325.8 kB |
| 2.8 MB | 1018.8 kB | 333.7 kB |

#### CDN links

| Flavor | URL |
| ------ | --- |
| Latest | https://cdn.plot.ly/plotly-cartesian-latest.js |
| Latest minified | https://cdn.plot.ly/plotly-cartesian-latest.min.js |
| Tagged | https://cdn.plot.ly/plotly-cartesian-1.53.0.js |
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.53.0.min.js |
| Tagged | https://cdn.plot.ly/plotly-cartesian-1.54.0.js |
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.54.0.min.js |

#### npm package (starting in `v1.39.0`)

Expand Down Expand Up @@ -220,16 +220,16 @@ The `geo` partial bundle contains trace modules `scatter`, `scattergeo` and `cho

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.5 MB | 892.4 kB | 294.1 kB |
| 2.5 MB | 915.2 kB | 302.1 kB |

#### CDN links

| Flavor | URL |
| ------ | --- |
| Latest | https://cdn.plot.ly/plotly-geo-latest.js |
| Latest minified | https://cdn.plot.ly/plotly-geo-latest.min.js |
| Tagged | https://cdn.plot.ly/plotly-geo-1.53.0.js |
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.53.0.min.js |
| Tagged | https://cdn.plot.ly/plotly-geo-1.54.0.js |
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.54.0.min.js |

#### npm package (starting in `v1.39.0`)

Expand Down Expand Up @@ -273,16 +273,16 @@ The `gl3d` partial bundle contains trace modules `scatter`, `scatter3d`, `surfac

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 3.5 MB | 1.4 MB | 443.6 kB |
| 3.5 MB | 1.4 MB | 451.3 kB |

#### CDN links

| Flavor | URL |
| ------ | --- |
| Latest | https://cdn.plot.ly/plotly-gl3d-latest.js |
| Latest minified | https://cdn.plot.ly/plotly-gl3d-latest.min.js |
| Tagged | https://cdn.plot.ly/plotly-gl3d-1.53.0.js |
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.53.0.min.js |
| Tagged | https://cdn.plot.ly/plotly-gl3d-1.54.0.js |
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.54.0.min.js |

#### npm package (starting in `v1.39.0`)

Expand Down Expand Up @@ -326,16 +326,16 @@ The `gl2d` partial bundle contains trace modules `scatter`, `scattergl`, `splom`

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 3.5 MB | 1.4 MB | 462.4 kB |
| 3.6 MB | 1.4 MB | 470.4 kB |

#### CDN links

| Flavor | URL |
| ------ | --- |
| Latest | https://cdn.plot.ly/plotly-gl2d-latest.js |
| Latest minified | https://cdn.plot.ly/plotly-gl2d-latest.min.js |
| Tagged | https://cdn.plot.ly/plotly-gl2d-1.53.0.js |
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.53.0.min.js |
| Tagged | https://cdn.plot.ly/plotly-gl2d-1.54.0.js |
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.54.0.min.js |

#### npm package (starting in `v1.39.0`)

Expand Down Expand Up @@ -379,16 +379,16 @@ The `mapbox` partial bundle contains trace modules `scatter`, `scattermapbox`, `

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 3.2 MB | 1.5 MB | 466 kB |
| 3.3 MB | 1.6 MB | 488.8 kB |

#### CDN links

| Flavor | URL |
| ------ | --- |
| Latest | https://cdn.plot.ly/plotly-mapbox-latest.js |
| Latest minified | https://cdn.plot.ly/plotly-mapbox-latest.min.js |
| Tagged | https://cdn.plot.ly/plotly-mapbox-1.53.0.js |
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.53.0.min.js |
| Tagged | https://cdn.plot.ly/plotly-mapbox-1.54.0.js |
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.54.0.min.js |

#### npm package (starting in `v1.39.0`)

Expand Down Expand Up @@ -432,16 +432,16 @@ The `finance` partial bundle contains trace modules `scatter`, `bar`, `histogram

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.6 MB | 953.3 kB | 309.9 kB |
| 2.7 MB | 975.7 kB | 317.7 kB |

#### CDN links

| Flavor | URL |
| ------ | --- |
| Latest | https://cdn.plot.ly/plotly-finance-latest.js |
| Latest minified | https://cdn.plot.ly/plotly-finance-latest.min.js |
| Tagged | https://cdn.plot.ly/plotly-finance-1.53.0.js |
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.53.0.min.js |
| Tagged | https://cdn.plot.ly/plotly-finance-1.54.0.js |
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.54.0.min.js |

#### npm package (starting in `v1.39.0`)

Expand Down
156 changes: 154 additions & 2 deletions dist/plot-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -41235,6 +41235,21 @@
"description": "Sets the marker symbol. Full list: https://www.mapbox.com/maki-icons/ Note that the array `marker.color` and `marker.size` are only available for *circle* symbols.",
"editType": "calc"
},
"angle": {
"valType": "number",
"dflt": "auto",
"role": "style",
"arrayOk": true,
"description": "Sets the marker orientation from true North, in degrees clockwise. When using the *auto* default, no rotation would be applied in perspective views which is different from using a zero angle.",
"editType": "calc"
},
"allowoverlap": {
"valType": "boolean",
"dflt": false,
"role": "style",
"description": "Flag to draw all symbols, even if they overlap.",
"editType": "calc"
},
"opacity": {
"valType": "number",
"min": 0,
Expand Down Expand Up @@ -41864,6 +41879,12 @@
"description": "Sets the source reference on Chart Studio Cloud for symbol .",
"editType": "none"
},
"anglesrc": {
"valType": "string",
"role": "info",
"description": "Sets the source reference on Chart Studio Cloud for angle .",
"editType": "none"
},
"opacitysrc": {
"valType": "string",
"role": "info",
Expand Down Expand Up @@ -57469,6 +57490,114 @@
"editType": "modebar",
"role": "object"
},
"newshape": {
"line": {
"color": {
"valType": "color",
"editType": "none",
"role": "info",
"description": "Sets the line color. By default uses either dark grey or white to increase contrast with background color."
},
"width": {
"valType": "number",
"min": 0,
"dflt": 4,
"role": "info",
"editType": "none",
"description": "Sets the line width (in px)."
},
"dash": {
"valType": "string",
"values": [
"solid",
"dot",
"dash",
"longdash",
"dashdot",
"longdashdot"
],
"dflt": "solid",
"role": "style",
"editType": "none",
"description": "Sets the dash style of lines. Set to a dash type string (*solid*, *dot*, *dash*, *longdash*, *dashdot*, or *longdashdot*) or a dash length list in px (eg *5px,10px,2px,2px*)."
},
"role": "object",
"editType": "none"
},
"fillcolor": {
"valType": "color",
"dflt": "rgba(0,0,0,0)",
"role": "info",
"editType": "none",
"description": "Sets the color filling new shapes' interior. Please note that if using a fillcolor with alpha greater than half, drag inside the active shape starts moving the shape underneath, otherwise a new shape could be started over."
},
"fillrule": {
"valType": "enumerated",
"values": [
"evenodd",
"nonzero"
],
"dflt": "evenodd",
"role": "info",
"editType": "none",
"description": "Determines the path's interior. For more info please visit https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill-rule"
},
"opacity": {
"valType": "number",
"min": 0,
"max": 1,
"dflt": 1,
"role": "info",
"editType": "none",
"description": "Sets the opacity of new shapes."
},
"layer": {
"valType": "enumerated",
"values": [
"below",
"above"
],
"dflt": "above",
"role": "info",
"editType": "none",
"description": "Specifies whether new shapes are drawn below or above traces."
},
"drawdirection": {
"valType": "enumerated",
"role": "info",
"values": [
"ortho",
"horizontal",
"vertical",
"diagonal"
],
"dflt": "diagonal",
"editType": "none",
"description": "When `dragmode` is set to *drawrect*, *drawline* or *drawcircle* this limits the drag to be horizontal, vertical or diagonal. Using *diagonal* there is no limit e.g. in drawing lines in any direction. *ortho* limits the draw to be either horizontal or vertical. *horizontal* allows horizontal extend. *vertical* allows vertical extend."
},
"editType": "none",
"role": "object"
},
"activeshape": {
"fillcolor": {
"valType": "color",
"dflt": "rgb(255,0,255)",
"role": "style",
"editType": "none",
"description": "Sets the color filling the active shape' interior."
},
"opacity": {
"valType": "number",
"min": 0,
"max": 1,
"dflt": 0.5,
"role": "info",
"editType": "none",
"description": "Sets the opacity of the active shape."
},
"editType": "none",
"role": "object"
},
"meta": {
"valType": "any",
"arrayOk": true,
Expand Down Expand Up @@ -57598,6 +57727,11 @@
"pan",
"select",
"lasso",
"drawclosedpath",
"drawopenpath",
"drawline",
"drawrect",
"drawcircle",
"orbit",
"turntable",
false
Expand Down Expand Up @@ -57708,7 +57842,7 @@
"any"
],
"dflt": "any",
"description": "When \"dragmode\" is set to \"select\", this limits the selection of the drag to horizontal, vertical or diagonal. \"h\" only allows horizontal selection, \"v\" only vertical, \"d\" only diagonal and \"any\" sets no limit.",
"description": "When `dragmode` is set to *select*, this limits the selection of the drag to horizontal, vertical or diagonal. *h* only allows horizontal selection, *v* only vertical, *d* only diagonal and *any* sets no limit.",
"editType": "none"
},
"grid": {
Expand Down Expand Up @@ -66817,7 +66951,25 @@
"dflt": "rgba(0,0,0,0)",
"role": "info",
"editType": "arraydraw",
"description": "Sets the color filling the shape's interior."
"description": "Sets the color filling the shape's interior. Only applies to closed shapes."
},
"fillrule": {
"valType": "enumerated",
"values": [
"evenodd",
"nonzero"
],
"dflt": "evenodd",
"role": "info",
"editType": "arraydraw",
"description": "Determines which regions of complex paths constitute the interior. For more info please visit https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill-rule"
},
"editable": {
"valType": "boolean",
"role": "info",
"dflt": false,
"editType": "calc+arraydraw",
"description": "Determines whether the shape could be activated for edit or not. Has no effect when the older editable shapes mode is enabled via `config.editable` or `config.edits.shapePosition`."
},
"editType": "arraydraw",
"name": {
Expand Down
Loading

0 comments on commit f24c765

Please sign in to comment.