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

Skip to content

Update offline plotlyjs #411

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 4 commits into from
Feb 19, 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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

## [1.9.6] - 2016-02-18
### Updated
- Updated plotly.min.js so offline is using plotly.js v1.5.2

## [1.9.5] - 2016-01-17
### Added
- Offline matplotlib to Plotly figure conversion. Use `offline.plot_mpl` to convert and plot a matplotlib figure as a Plotly figure independently of IPython/Jupyter notebooks or use `offline.iplot_mpl` to convert and plot inside of IPython/Jupyter notebooks. Additionally, use `offline.enable_mpl_offline` to convert and plot all matplotlib figures as plotly figures inside an IPython/Jupyter notebook. See examples below:
Expand Down
26 changes: 13 additions & 13 deletions plotly/graph_reference/default-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -4405,7 +4405,7 @@
}
},
"colorscale": {
"description": "Has only an effect if `marker.color` is set to a numerical array. Sets the colorscale.",
"description": "Sets the colorscale. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, or named color string. At minimum, a mapping for the lowest (0) and highest (1) values are required. For example, `[[0, 'rgb(0,0,255)', [1, 'rgb(255,0,0)']]`. To control the bounds of the colorscale in color space, use cmin and cmax",
"role": "style",
"valType": "colorscale"
},
Expand Down Expand Up @@ -5594,7 +5594,7 @@
}
},
"colorscale": {
"description": "Sets the colorscale.",
"description": "Sets the colorscale. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, or named color string. At minimum, a mapping for the lowest (0) and highest (1) values are required. For example, `[[0, 'rgb(0,0,255)', [1, 'rgb(255,0,0)']]`. To control the bounds of the colorscale in z space, use zmin and zmax",
"role": "style",
"valType": "colorscale"
},
Expand Down Expand Up @@ -6134,7 +6134,7 @@
}
},
"colorscale": {
"description": "Sets the colorscale.",
"description": "Sets the colorscale. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, or named color string. At minimum, a mapping for the lowest (0) and highest (1) values are required. For example, `[[0, 'rgb(0,0,255)', [1, 'rgb(255,0,0)']]`. To control the bounds of the colorscale in z space, use zmin and zmax",
"role": "style",
"valType": "colorscale"
},
Expand Down Expand Up @@ -6781,7 +6781,7 @@
}
},
"colorscale": {
"description": "Sets the colorscale.",
"description": "Sets the colorscale. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, or named color string. At minimum, a mapping for the lowest (0) and highest (1) values are required. For example, `[[0, 'rgb(0,0,255)', [1, 'rgb(255,0,0)']]`. To control the bounds of the colorscale in z space, use zmin and zmax",
"role": "style",
"valType": "colorscale"
},
Expand Down Expand Up @@ -7660,7 +7660,7 @@
}
},
"colorscale": {
"description": "Has only an effect if `marker.color` is set to a numerical array. Sets the colorscale.",
"description": "Sets the colorscale. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, or named color string. At minimum, a mapping for the lowest (0) and highest (1) values are required. For example, `[[0, 'rgb(0,0,255)', [1, 'rgb(255,0,0)']]`. To control the bounds of the colorscale in color space, use cmin and cmax",
"role": "style",
"valType": "colorscale"
},
Expand Down Expand Up @@ -8307,7 +8307,7 @@
}
},
"colorscale": {
"description": "Sets the colorscale.",
"description": "Sets the colorscale. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, or named color string. At minimum, a mapping for the lowest (0) and highest (1) values are required. For example, `[[0, 'rgb(0,0,255)', [1, 'rgb(255,0,0)']]`. To control the bounds of the colorscale in z space, use zmin and zmax",
"role": "style",
"valType": "colorscale"
},
Expand Down Expand Up @@ -8933,7 +8933,7 @@
}
},
"colorscale": {
"description": "Sets the colorscale.",
"description": "Sets the colorscale. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, or named color string. At minimum, a mapping for the lowest (0) and highest (1) values are required. For example, `[[0, 'rgb(0,0,255)', [1, 'rgb(255,0,0)']]`. To control the bounds of the colorscale in z space, use zmin and zmax",
"role": "style",
"valType": "colorscale"
},
Expand Down Expand Up @@ -9617,7 +9617,7 @@
}
},
"colorscale": {
"description": "Sets the colorscale.",
"description": "Sets the colorscale. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, or named color string. At minimum, a mapping for the lowest (0) and highest (1) values are required. For example, `[[0, 'rgb(0,0,255)', [1, 'rgb(255,0,0)']]`. To control the bounds of the colorscale in z space, use zmin and zmax",
"role": "style",
"valType": "colorscale"
},
Expand Down Expand Up @@ -10933,7 +10933,7 @@
}
},
"colorscale": {
"description": "Has only an effect if `marker.color` is set to a numerical array. Sets the colorscale.",
"description": "Sets the colorscale. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, or named color string. At minimum, a mapping for the lowest (0) and highest (1) values are required. For example, `[[0, 'rgb(0,0,255)', [1, 'rgb(255,0,0)']]`. To control the bounds of the colorscale in color space, use cmin and cmax",
"role": "style",
"valType": "colorscale"
},
Expand Down Expand Up @@ -12308,7 +12308,7 @@
}
},
"colorscale": {
"description": "Has only an effect if `marker.color` is set to a numerical array. Sets the colorscale.",
"description": "Sets the colorscale. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, or named color string. At minimum, a mapping for the lowest (0) and highest (1) values are required. For example, `[[0, 'rgb(0,0,255)', [1, 'rgb(255,0,0)']]`. To control the bounds of the colorscale in color space, use cmin and cmax",
"role": "style",
"valType": "colorscale"
},
Expand Down Expand Up @@ -13197,7 +13197,7 @@
}
},
"colorscale": {
"description": "Has only an effect if `marker.color` is set to a numerical array. Sets the colorscale.",
"description": "Sets the colorscale. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, or named color string. At minimum, a mapping for the lowest (0) and highest (1) values are required. For example, `[[0, 'rgb(0,0,255)', [1, 'rgb(255,0,0)']]`. To control the bounds of the colorscale in color space, use cmin and cmax",
"role": "style",
"valType": "colorscale"
},
Expand Down Expand Up @@ -14428,7 +14428,7 @@
}
},
"colorscale": {
"description": "Has only an effect if `marker.color` is set to a numerical array. Sets the colorscale.",
"description": "Sets the colorscale. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, or named color string. At minimum, a mapping for the lowest (0) and highest (1) values are required. For example, `[[0, 'rgb(0,0,255)', [1, 'rgb(255,0,0)']]`. To control the bounds of the colorscale in color space, use cmin and cmax",
"role": "style",
"valType": "colorscale"
},
Expand Down Expand Up @@ -15053,7 +15053,7 @@
}
},
"colorscale": {
"description": "Sets the colorscale.",
"description": "Sets the colorscale. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, or named color string. At minimum, a mapping for the lowest (0) and highest (1) values are required. For example, `[[0, 'rgb(0,0,255)', [1, 'rgb(255,0,0)']]`. To control the bounds of the colorscale in z space, use zmin and zmax",
"role": "style",
"valType": "colorscale"
},
Expand Down
134 changes: 43 additions & 91 deletions plotly/offline/plotly.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion plotly/tests/test_core/test_tools/test_get_embed.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def test_get_embed_url_with_share_key(self):
get_embed_return = tls.get_embed('https://plot.ly/~neda/6572' +
'?share_key=AH4MyPlyDyDWYA2cM2kj2m')
expected_get_embed = ("<iframe id=\"igraph\" scrolling=\"no\" "
"style=\"border:none;\"seamless=\"seamless\" "
"style=\"border:none;\" seamless=\"seamless\" "
"src=\"{plotly_rest_url}/"
"~{file_owner}/{file_id}.embed?"
"share_key={share_key}\" "
Expand Down
2 changes: 1 addition & 1 deletion plotly/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.9.5'
__version__ = '1.9.6'