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

Skip to content

update plotly js version 1.5.2 -> 1.8.0 for offline #432

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 4, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,19 @@ All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

## [1.9.7] - 2016-04-04
### Fixed
- Offline mode will no longer delete the Jupyter Notebook's require, requirejs, and define variables.

### Updated
- Updated plotly.min.js so offline is using plotly.js v1.8.0
- Added range selector functionality for cartesian plots
- Added range slider functionality for scatter traces
- Added custom surface color functionality
- Added ability to subplot multiple graph types (SVG cartesian, 3D, maps, pie charts)
- For comprehensive update list see the [plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md)

## [1.9.6] - 2016-02-18
### Updated
- Updated plotly.min.js so offline is using plotly.js v1.5.2
Expand Down
93 changes: 73 additions & 20 deletions plotly/graph_reference/default-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"requiredOpts": []
},
"colorscale": {
"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.",
"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.",
"otherOpts": [
"dflt"
],
Expand Down Expand Up @@ -427,6 +427,7 @@
},
"dragmode": {
"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.",
"dflt": "zoom",
"role": "info",
"valType": "enumerated",
"values": [
Expand Down Expand Up @@ -1247,6 +1248,28 @@
"valType": "info_array"
}
},
"dragmode": {
"description": "Determines the mode of drag interactions for this scene.",
"dflt": "turntable",
"role": "info",
"valType": "enumerated",
"values": [
"orbit",
"turntable",
"zoom",
"pan"
]
},
"hovermode": {
"description": "Determines the mode of hover interactions for this scene.",
"dflt": "closest",
"role": "info",
"valType": "enumerated",
"values": [
"closest",
false
]
},
"role": "object",
"xaxis": {
"autorange": {
Expand Down Expand Up @@ -14708,12 +14731,50 @@
},
"surface": {
"attributes": {
"_deprecated": {
"zauto": {
"description": "Obsolete. Use `cauto` instead.",
"dflt": true,
"role": "info",
"valType": "boolean"
},
"zmax": {
"description": "Obsolete. Use `cmax` instead.",
"dflt": null,
"role": "info",
"valType": "number"
},
"zmin": {
"description": "Obsolete. Use `cmin` instead.",
"dflt": null,
"role": "info",
"valType": "number"
}
},
"autocolorscale": {
"description": "Determines whether or not the colorscale is picked using the sign of the input z values.",
"dflt": false,
"role": "style",
"valType": "boolean"
},
"cauto": {
"description": "Determines the whether or not the color domain is computed with respect to the input data.",
"dflt": true,
"role": "info",
"valType": "boolean"
},
"cmax": {
"description": "Sets the upper bound of color domain.",
"dflt": null,
"role": "info",
"valType": "number"
},
"cmin": {
"description": "Sets the lower bound of color domain.",
"dflt": null,
"role": "info",
"valType": "number"
},
"colorbar": {
"bgcolor": {
"description": "Sets the color of padded area.",
Expand Down Expand Up @@ -15370,6 +15431,16 @@
"valType": "string"
}
},
"surfacecolor": {
"description": "Sets the surface color values, used for setting a color scale independent of `z`.",
"role": "data",
"valType": "data_array"
},
"surfacecolorsrc": {
"description": "Sets the source reference on plot.ly for surfacecolor .",
"role": "info",
"valType": "string"
},
"text": {
"description": "Sets the text elements associated with each z value.",
"role": "data",
Expand Down Expand Up @@ -15422,31 +15493,13 @@
"role": "data",
"valType": "data_array"
},
"zauto": {
"description": "Determines the whether or not the color domain is computed with respect to the input data.",
"dflt": true,
"role": "info",
"valType": "boolean"
},
"zmax": {
"description": "Sets the upper bound of color domain.",
"dflt": null,
"role": "info",
"valType": "number"
},
"zmin": {
"description": "Sets the lower bound of color domain.",
"dflt": null,
"role": "info",
"valType": "number"
},
"zsrc": {
"description": "Sets the source reference on plot.ly for z .",
"role": "info",
"valType": "string"
}
},
"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."
"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`."
}
}
}
76 changes: 38 additions & 38 deletions plotly/offline/plotly.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion plotly/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.9.6'
__version__ = '1.9.7'