Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Upgrade plotlyjs #46

Merged
merged 3 commits into from
Aug 4, 2017
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
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,37 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [0.10.0] - 2017-08-03
### Added
- Upgrade [plotly.js](https://github.com/plotly/plotly.js) (the library behind the `Graph` component) from 1.27.0 to 1.29.3. This includes TONS of fixes and improvements, see https://github.com/plotly/plotly.js/releases for more details. Notable improvements include:
- Add touch interactions to cartesian, gl2d and ternary subplots including for
select and lasso drag modes
- Add support for contour line labels in contour and contourcarpet traces
- Add support for select and lasso drag modes on scattermapbox traces
- Add reset view and toggle hover mode bar buttons to mapbox subplots
- Add support for array marker.opacity settings in scattermapbox traces
- Add namelength layout and trace attribute to control the trace name's
visible length in hover labels
- Add cliponaxis attribute to scatter and scatterternary traces to allow
markers and text nodes to be displayed above their subplot's axes
- Add axis layer attribute with 'above traces' and 'below traces' values

And fixes include:
- Fix axis line width, length, and positioning for coupled subplots
- Fix alignment of cartesian tick labels
- Fix rendering and updates of overlaying axis lines
- Fix hover for 2D traces with custom colorbar tickvals
- Fix hover and event data for heatmapgl and contourgl traces
- Fix event data for pie and sankey traces
- Fix drag mode 'pan' in IE and Edge
- Fix bar, error bar and box point scaling on scroll zoom
- Fix shading issue in surface trace in iOS
- Fix lasso and select drag modes for `scatterternary` traces
- Fix cases of intersecting contour lines on log axes
- Fix animation of annotations, shapes and images
- Fix histogram bin computation when more than 5000 bins are needed
- Fix tick label rendering when more than 1000 labels are present

## [0.9.0] - 2017-07-28
### Added
- A `config` property of the `Graph` component that exposes the [plotly.js config properties](https://plot.ly/javascript/configuration-options/). Here's an example that hides 2 buttons and makes the elements in the graph "editable":
Expand Down
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ include dash_core_components/bundle.js.map
include dash_core_components/metadata.json
include dash_core_components/rc-slider@6.1.2.css
include dash_core_components/react-select@1.0.0-rc.3.min.css
include dash_core_components/plotly-1.27.1.min.js
include dash_core_components/plotly-1.29.3.min.js
include README.md
include LICENSE.md
4 changes: 2 additions & 2 deletions dash_core_components/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@

_js_dist = [
{
'external_url': 'https://cdn.plot.ly/plotly-1.27.1.min.js',
'relative_package_path': 'plotly-1.27.1.min.js',
'external_url': 'https://cdn.plot.ly/plotly-1.29.3.min.js',
'relative_package_path': 'plotly-1.29.3.min.js',
'namespace': 'dash_core_components'
},
{
Expand Down
77 changes: 0 additions & 77 deletions dash_core_components/plotly-1.27.1.min.js

This file was deleted.

78 changes: 78 additions & 0 deletions dash_core_components/plotly-1.29.3.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dash_core_components/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.9.0'
__version__ = '0.10.0'