Skip to content

Commit 96a60c2

Browse files
committed
v0.8.0 - new config property in Graph
1 parent 2166bdc commit 96a60c2

File tree

3 files changed

+24
-2
lines changed

3 files changed

+24
-2
lines changed

packages/dash-core-components/CHANGELOG.md

+22
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,28 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5+
## [0.9.0] - 2017-07-28
6+
### Added
7+
- 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":
8+
```
9+
import dash
10+
import dash_core_components as dcc
11+
import dash_html_components as html
12+
13+
app = dash.Dash()
14+
15+
app.layout = html.Div([
16+
dcc.Graph(
17+
id='my-graph',
18+
figure={'data': [{'x': [1, 2, 3]}]},
19+
config={'editable': True, 'modeBarButtonsToRemove': ['pan2d', 'lasso2d']}
20+
)
21+
])
22+
23+
if __name__ == '__main__':
24+
app.run_server(debug=True)
25+
```
26+
527
## [0.8.0] - 2017-07-27
628
### Added
729
- A new `Textarea` component for displaying the simple Textarea HTML element. The content of the `Textarea` is controlled through the `value` property:
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '0.8.0'
1+
__version__ = '0.9.0'

packages/dash-core-components/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dash-core-components",
3-
"version": "0.8.0",
3+
"version": "0.9.0",
44
"description": "Core component suite for Dash",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)