Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d92345f

Browse files
committed
Merge pull request plotly#432 from plotly/update_js
update plotly js version 1.5.2 -> 1.8.0 for offline
2 parents 2594076 + a8ef7c8 commit d92345f

File tree

4 files changed

+122
-59
lines changed

4 files changed

+122
-59
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,19 @@ All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

55
## [Unreleased]
6+
7+
## [1.9.7] - 2016-04-04
68
### Fixed
79
- Offline mode will no longer delete the Jupyter Notebook's require, requirejs, and define variables.
810

11+
### Updated
12+
- Updated plotly.min.js so offline is using plotly.js v1.8.0
13+
- Added range selector functionality for cartesian plots
14+
- Added range slider functionality for scatter traces
15+
- Added custom surface color functionality
16+
- Added ability to subplot multiple graph types (SVG cartesian, 3D, maps, pie charts)
17+
- For comprehensive update list see the [plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md)
18+
919
## [1.9.6] - 2016-02-18
1020
### Updated
1121
- Updated plotly.min.js so offline is using plotly.js v1.5.2

plotly/graph_reference/default-schema.json

Lines changed: 73 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"requiredOpts": []
4646
},
4747
"colorscale": {
48-
"description": "A Plotly colorscale either picked by a name: (any of Greys, YIGnBu, Greens, YIOrRd, Bluered, RdBu, Reds, Blues, Picnic, Rainbow, Portland, Jet, Hot, Blackbody, Earth, Electric, Viridis ) customized as an {array} of 2-element {arrays} where the first element is the normalized color level value (starting at *0* and ending at *1*), and the second item is a valid color string.",
48+
"description": "A Plotly colorscale either picked by a name: (any of Greys, YlGnBu, Greens, YlOrRd, Bluered, RdBu, Reds, Blues, Picnic, Rainbow, Portland, Jet, Hot, Blackbody, Earth, Electric, Viridis ) customized as an {array} of 2-element {arrays} where the first element is the normalized color level value (starting at *0* and ending at *1*), and the second item is a valid color string.",
4949
"otherOpts": [
5050
"dflt"
5151
],
@@ -427,6 +427,7 @@
427427
},
428428
"dragmode": {
429429
"description": "Determines the mode of drag interactions. *select* and *lasso* apply only to scatter traces with markers or text. *orbit* and *turntable* apply only to 3D scenes.",
430+
"dflt": "zoom",
430431
"role": "info",
431432
"valType": "enumerated",
432433
"values": [
@@ -1247,6 +1248,28 @@
12471248
"valType": "info_array"
12481249
}
12491250
},
1251+
"dragmode": {
1252+
"description": "Determines the mode of drag interactions for this scene.",
1253+
"dflt": "turntable",
1254+
"role": "info",
1255+
"valType": "enumerated",
1256+
"values": [
1257+
"orbit",
1258+
"turntable",
1259+
"zoom",
1260+
"pan"
1261+
]
1262+
},
1263+
"hovermode": {
1264+
"description": "Determines the mode of hover interactions for this scene.",
1265+
"dflt": "closest",
1266+
"role": "info",
1267+
"valType": "enumerated",
1268+
"values": [
1269+
"closest",
1270+
false
1271+
]
1272+
},
12501273
"role": "object",
12511274
"xaxis": {
12521275
"autorange": {
@@ -14708,12 +14731,50 @@
1470814731
},
1470914732
"surface": {
1471014733
"attributes": {
14734+
"_deprecated": {
14735+
"zauto": {
14736+
"description": "Obsolete. Use `cauto` instead.",
14737+
"dflt": true,
14738+
"role": "info",
14739+
"valType": "boolean"
14740+
},
14741+
"zmax": {
14742+
"description": "Obsolete. Use `cmax` instead.",
14743+
"dflt": null,
14744+
"role": "info",
14745+
"valType": "number"
14746+
},
14747+
"zmin": {
14748+
"description": "Obsolete. Use `cmin` instead.",
14749+
"dflt": null,
14750+
"role": "info",
14751+
"valType": "number"
14752+
}
14753+
},
1471114754
"autocolorscale": {
1471214755
"description": "Determines whether or not the colorscale is picked using the sign of the input z values.",
1471314756
"dflt": false,
1471414757
"role": "style",
1471514758
"valType": "boolean"
1471614759
},
14760+
"cauto": {
14761+
"description": "Determines the whether or not the color domain is computed with respect to the input data.",
14762+
"dflt": true,
14763+
"role": "info",
14764+
"valType": "boolean"
14765+
},
14766+
"cmax": {
14767+
"description": "Sets the upper bound of color domain.",
14768+
"dflt": null,
14769+
"role": "info",
14770+
"valType": "number"
14771+
},
14772+
"cmin": {
14773+
"description": "Sets the lower bound of color domain.",
14774+
"dflt": null,
14775+
"role": "info",
14776+
"valType": "number"
14777+
},
1471714778
"colorbar": {
1471814779
"bgcolor": {
1471914780
"description": "Sets the color of padded area.",
@@ -15370,6 +15431,16 @@
1537015431
"valType": "string"
1537115432
}
1537215433
},
15434+
"surfacecolor": {
15435+
"description": "Sets the surface color values, used for setting a color scale independent of `z`.",
15436+
"role": "data",
15437+
"valType": "data_array"
15438+
},
15439+
"surfacecolorsrc": {
15440+
"description": "Sets the source reference on plot.ly for surfacecolor .",
15441+
"role": "info",
15442+
"valType": "string"
15443+
},
1537315444
"text": {
1537415445
"description": "Sets the text elements associated with each z value.",
1537515446
"role": "data",
@@ -15422,31 +15493,13 @@
1542215493
"role": "data",
1542315494
"valType": "data_array"
1542415495
},
15425-
"zauto": {
15426-
"description": "Determines the whether or not the color domain is computed with respect to the input data.",
15427-
"dflt": true,
15428-
"role": "info",
15429-
"valType": "boolean"
15430-
},
15431-
"zmax": {
15432-
"description": "Sets the upper bound of color domain.",
15433-
"dflt": null,
15434-
"role": "info",
15435-
"valType": "number"
15436-
},
15437-
"zmin": {
15438-
"description": "Sets the lower bound of color domain.",
15439-
"dflt": null,
15440-
"role": "info",
15441-
"valType": "number"
15442-
},
1544315496
"zsrc": {
1544415497
"description": "Sets the source reference on plot.ly for z .",
1544515498
"role": "info",
1544615499
"valType": "string"
1544715500
}
1544815501
},
15449-
"description": "The data the describes the coordinates of the surface is set in `z`. Data in `z` should be a {2D array}. Coordinates in `x` and `y` can either be 1D {arrays} or {2D arrays} (e.g. to graph parametric surfaces). If not provided in `x` and `y`, the x and y coordinates are assumed to be linear starting at 0 with a unit step."
15502+
"description": "The data the describes the coordinates of the surface is set in `z`. Data in `z` should be a {2D array}. Coordinates in `x` and `y` can either be 1D {arrays} or {2D arrays} (e.g. to graph parametric surfaces). If not provided in `x` and `y`, the x and y coordinates are assumed to be linear starting at 0 with a unit step. The color scale corresponds to the `z` values by default. For custom color scales, use `surfacecolor` which should be a {2D array}, where its bounds can be controlled using `cmin` and `cmax`."
1545015503
}
1545115504
}
1545215505
}

plotly/offline/plotly.min.js

Lines changed: 38 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plotly/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.9.6'
1+
__version__ = '1.9.7'

0 commit comments

Comments
 (0)