You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve our `extras_require`: there are now five options here, each with a well-defined role:
@@ -14,9 +14,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
14
14
- `dash[celery]`: required if you use `CeleryLongCallbackManager`
15
15
- `dash[ci]`: mainly for internal use, these are additional requirements for the Dash CI tests, exposed for other component libraries to use a matching configuration.
@@ -102,14 +102,19 @@ This project adheres to [Semantic Versioning](https://semver.org/).
102
102
```
103
103
104
104
After:
105
+
105
106
```python
106
107
dcc.Slider(min=1, max=3, step=1)
107
108
```
109
+
108
110
Or equivalently:
111
+
109
112
```python
110
113
dcc.Slider(1, 3, 1)
111
114
```
115
+
112
116
Step can also be omitted and the `Slider` will attempt to create a nice, human readable step with SI units and around 5 marks:
117
+
113
118
```python
114
119
dcc.Slider(0, 100)
115
120
```
@@ -137,6 +142,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
137
142
```python
138
143
dash_table.DataTable(data=df.to_dict('records'), columns=[{'name': i, 'id': i} for i in df.columns])
139
144
```
145
+
140
146
After:
141
147
142
148
```python
@@ -153,6 +159,16 @@ This project adheres to [Semantic Versioning](https://semver.org/).
153
159
dcc.Checklist(inline=True)
154
160
```
155
161
162
+
### Fixed
163
+
164
+
- [#1836](https://github.com/plotly/dash/pull/1836) Fix `__all__` in dcc and table for extras: dcc download helpers and table format helpers. This also restores this functionality to the obsolete top-level packages `dash_core_components` and `dash_table`.
165
+
166
+
- [#1822](https://github.com/plotly/dash/pull/1822) Remove Radium from renderer dependencies, as part of investigating React 17 support.
# It's recommended to install your python packages in a virtualenv
14
+
# As of dash 2.0, python 3 is required
20
15
$ python -m venv venv &&. venv/bin/activate
21
16
22
17
# make sure dash is installed with dev and testing dependencies
23
-
$ pip install dash[dev,testing] # in some shells you need \ to escape []
18
+
$ pip install -e .[dev,testing] # in some shells you need \ to escape []
24
19
25
-
# run the build process
26
-
$ npm i --ignore-scripts && npm run build
20
+
# run the build process - this will build all of dash, including dcc
21
+
$ npm i && npm run build
27
22
28
23
# install dcc in editable mode
29
24
$ pip install -e .
@@ -46,22 +41,6 @@ npm test
46
41
# Import dash_core_components to your layout, then run it:
47
42
$ python my_dash_layout.py
48
43
49
-
## Uninstalling python package locally
50
-
51
-
```sh
52
-
$ npm run uninstall-local
53
-
```
54
-
55
-
## Publishing
56
-
57
-
There's an npm script that will handle publish, provided you have the right credentials. You can run it by running
58
-
59
-
```sh
60
-
$ npm run publish-all
61
-
```
62
-
63
-
See the [Publishing New Components/Features](CONTRIBUTING.md#publishing-new-componentsfeatures) section of the Contributing guide for step-by-step instructions on publishing new components.
64
-
65
44
## Dash Component Boilerplate
66
45
67
46
See the [dash-component-boilerplate](https://github.com/plotly/dash-component-boilerplate) repo for more information.
@@ -41,7 +40,7 @@ This component was written from scratch in React.js and Typescript specifically
41
40
42
41
DataTable was designed with a featureset that allows that Dash users to create complex, spreadsheet driven applications with no compromises. We're excited to continue to work with users and companies that [invest in DataTable's future](https://plotly.com/products/consulting-and-oem/).
43
42
44
-
Please subscribe to [dash-table#207](https://github.com/plotly/dash-table/issues/207) and the [CHANGELOG.md](https://github.com/plotly/dash-table/blob/master/CHANGELOG.md) to stay up-to-date with any breaking changes. Note: DataTable is currently supported in Chrome, Firefox, Safari, Edge (version 15+), and Internet Explorer 11.
43
+
Note: DataTable is currently supported in Chrome, Firefox, Safari, Edge (version 15+), and Internet Explorer 11.
45
44
46
45
Share your DataTable Dash apps on the [community forum](https://community.plotly.com/t/show-and-tell-community-thread/7554)!
0 commit comments