-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Porting dash to work on offline examples #7
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
Comments
Looking forward to seeing this. |
Check out https://github.com/icaromedeiros/dash/tree/dirty I am beginning to think the best idea is to create a new project and call it plOFFly as plotly members don't seem thrilled I'm working in making plotly more offline-friendly, just check these not answered pull requests / issues (and please +1 them): |
hey @icaromedeiros ! sorry for the radio silence on this one. An offline version of dash would be awesome. This project was originally written before |
Hello @chriddyp, good to hear from you and thanks for the historical explanations. Just checked the mentioned pull requests were merged or answered 😄 I got the idea about this project being a show-off for plotly.js, python API and server API main features put together in a nice way so you can bootstrap a project using plot.ly's nicest features. And I know there is some enterprisey reasons to justifiy that ~95% of the examples (and I am including dash as 'code example' here) are online-based. But maybe, IMHO, the overall plotly community will contribute back in a faster way if offline plotting is more user-friendly and quickier to set tup. And I think dash can play a big role on attracting potential contributors. Best regards. |
Hey all, I believe that a full offline version of
and so on. So 👍 for this! |
It will be fantastic! 👍 |
thanks for checking it out @ispmarin @lucapinello @icaromedeiros @akapocsi ! A new version of Dash is now available and it works completely offline ✨ |
Awesome. Just saw the blog post on Medium. Looking forward to checking it out in greater detail. |
Looks like a bokeh killer :) |
* update Checklist, Dropdown, RangeSlider to accept optional shorthands * update Checklist, RadioItems - added inline props and shorthand options data, update DataTable - params order changed for shorthand support, added TODO * fill component id if not given * fix Dropdown props to accept array of string * remove comments * fix lint issues * generating seed for component id * lint fix in dash-table * lint fix * remove inline props and lint fix * broken eslint 😬 * prettier fix * set random id inside dash dependency * lint fixes * bug fix * add inline styling support * fix bugs * add column populating in dash-table * disable restricting dependency type * fix radio options type check * add comments to inline props * add tests for shorthands * remove unused imports * remove tests, refactor assign * use ramda.type instead of typeof * backup commit * add auto generating marks to RangeSlider & Slider * add number support for shorthanded options - Checklist, Dropdown * some refactor to get react-docgen working, slider props re-arrange * fix unit test - remove outdated part * update props comment Co-authored-by: Chris Parmer <[email protected]> * fix feedback comments * fix some issues in Checklist, DataTable props * pylint fix * Apply suggestions from code review Co-authored-by: Chris Parmer <[email protected]> * copy paste ProTypes to get doc-gen working * Test Slider and RangeSlider shorthand properties * Test Dropdown shorthand properties * Remove unnecessary imports * random seed moved out to global scope, the test for set_random_id was implemented * fix slider markers - respect steps given * assert comparision is fixed * fix slider issues * Add dropdown option sanitization to some additional required places * Convert labels to strings when an Ojbect is passed as options * Add more variants to Dropdown shorthand test * Extend Slider tests * Add test for Dropdown array value type * fix: update inline description & style * chore: pass black format * chore: react doc-gen fix & flake fix * chore: rename test file names to avoid conflict * Handle undefined options in Dropdown * fix: the case when truncated out input marks handled * fix: correct step calculations implemented for sliders * fix: removed Start and End prefix / suffix from labels on Slider * chore: add labels to dropdown tests * chore: lint fix * fix: dropdown options for test * chore: prettier 😪 * bump dash-renderer to v1.11.0 This new version is not important for most dash users, only dash-embedded, and they get the renderer elsewhere; but as is there's a mismatch between the local and CDN versions of the renderer * fix: removed a test file which was causing percy tests fail * fix: defining emptiness of dictionary implemented correctly, which fixes the disappearing of explicitely given marks * fix: omit 'step' from props * chore: update props description * chore: remove unnecessary prop type checker * fix: range slider test corrected, formatted to have some margins * fix: the test_ddsh001_dropdown_shorthand_properties test restored back and the DropDowns propTypes are fixed * fix: added bool type to CheckList label/value and RadioItem label/value * fix: the edited JS files are reformatted using lint * feat: implemented SI Units format for unit values of slider * feat: added tests to cover slider SI Units format for unit values * chore: eslint fix * fix: the test adopted to propsTypes which now accepts bool for several components * fix: slider numbers whose ten factor is less than 3 and bigger than -3 are not formatted, so that they can have floating numebrs * fix: lint issue fixed * fix: explicit null prevents auto generating marks in sliders * fix: add snapshot for set_auto_id dependency link and asserts * fix: test marks=None and SI units format * fix: test_persistence - give step=1 to expect integer value output, otherwise 0.1 will be auto assigned * fix: checking RadioItems and Checklist to accept new propTypes added in tests Co-authored-by: workaholicpanda <> Co-authored-by: Chris Parmer <[email protected]> Co-authored-by: Szabolcs Markó <[email protected]> Co-authored-by: alexcjohnson <[email protected]>
I will fork the project and rewrite it using only offline plots.
I am wondering if you want me to merge it somehow here.
The text was updated successfully, but these errors were encountered: