Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve serialization of Pandas DataFrames to ipyvega (#346)
* data transfer via ipydatawidgets * fix * Fix heatmap for speed * Fix heatmap for speed * init ipydatatablewidget * using NDArray instead of DataUnion * adding a customized table traitlet * src/widget.ts * fix * cleanup * adding lz4js decompression * fix * make NumpyAdapter.equals returns always False * Remove most console.log and add %time and progress bars in notebooks * fixing .gitignore * Add stress tests * rename update_histogram2d to update_array2d. Remove console.log polluting the console. Add python doc. * Improve * Add a definition file to configure Altair. More work needed * compression as string * fix (naive approach) * adding an adapter for Progressivis tables * cleanup * adding a touch mode * using ipytablewidgets * calling update_dataframe() and update_array2d() from update() * fixes for jupyterlab3 compliance * adding UI tests * adding reference outputs for UI tests * add ui action * fix syntax * another fix * fix poetry conf * testing only with python 3.9 * testing with yarn --no-lockfile * testing only on lab branch for now * trusting test notebook * debug: testing ipytablewidgets presence * get a cell as an artifact * fix syntax * if: always() * arfifact test-output instead of ref... * uploading all .png as an artifact * new refs * upload artifacts only if: cancelled() to avoid warnings * improvement * Widget.ipynb modified for use datasets property * adding a random.seed() * fixes * more ui tests * fix: producing artifacts if failure * fix * adding new ref * simplifying last tests * resize histogram2d to 32x32 * adding new refernces * many updates ported from the bench branch * add jupyterlab * Introduce vega.altair with the `stream` method to stream altair specs * fix bugs and add interactive test * Call resize after update in streaming mode, otherwise, the widget is not properly sized * Add the resize option to stream and update * fixing resize for pending updates * Fix tests * Simplify streaming test * Ready for distribution * fix test.yml * prettier * merged with origin * Cleanup * Fixed spec * bump to new library versions for yarn and vega * fix unused packages * fixing ui tests * other fixes rlated to the 346 issue * cleanup+fix * new fixes * set nodejs=17 * set nodejs=16 * make variables that can be const const * cleanup * Add comment for chaining multiple datasets in widget.py. Cleanup declarations and spaces. * use the latest version of Altair. Print better information in altair.py/stream_examples * Try lower version of Altair * trying altair4.1.0+jsonschema3.2.0 * fixing the previous essay * altair back to dev-dependencies * alt.renderers.enable('default') instead of 'notebook' * Add a first cell in AltairStreaming.ipynb to explain to install Altair before running the notebook * UI end-to-end tests without conda * trying sleep 3 * trying py 3.8 * py 3.7 ? * py 3.6 ? * avoid any[]|string * removing touch_mode and touch params * removing binder conf * using a logger instead of print() * insert?: any[] | @dataframe | ... * clean-up code, add comments, check the need for resize in vega.wiget, remove example code from vega.altair and move it to AltairStreaming.ipynb * Altair should be either a dev dependency or a strong dependency, not optional * Add comments to the AltairStreaming.ipynb notebook [skip CI] * update dependencies * update webpack * altair back to dev dependencies. Update webpack package version. * Update webpack-cli package version. * fix yarn lockfile issue * Apply requested changes, except for moving the dependencies of jupyterlab to the top-level package * Bump to the newer version of Poetry * Update src/index.ts Co-authored-by: Dominik Moritz <[email protected]> * Rename AllSupportedTypes.ipynb to AllCompressions.ipynb and fix the README.md to use the --sym-link option for jupyter nbextension install * Use stable URL for example data * adding extension.js labplugin.js * removing TimeXXX.ipynb * "adding jupyter nbextension enable" subcommand, removing comment "not needed in notebook >= 5.3" * Remove unused ISerializers from import in wiget.ts [skip CI] * fixing bug in vega.js, removing src/extension.js (replaced by extension.ts), webpack.config.js after fusion * waiting 10s after start-jlab before running UI tests * keeping only py3.9 * prettifying .ts files + back to py3.6..3.9 * a better fix for src/vega.js * fix jupyterlab * fix poetry.lock * fix test * new fix for test * trying pip install for extra jupyterlab * fix syntax error * trying poetry without virtualisation * ipytablewidgets=0.2.4, jupyterlab extra removed * fixes * adding forgotten .js * fixes * essay * many fixes * adding jupyter-tablewidgets * fix * error injection for test * fixing UI Tests * back to the previous fix * save widgets rendering as images * using poetry 1.3.1 * minor improvement * serialize static widgets as json * Regenerate poetry lock file and fix warning in tests * Update packages and try saving a streamed example * setting rendered images dims * back to @jupyter-widgets/base=4.1.0 because of jupyterlab * fix * new fixes+upgraded dependencies * upgrade dev dependency filemanager-webpack-plugin => 7.0.0 * rm .gitmodules+update poetry.loc * using barley.json instead of barley.csv in all cells * improvements * Improve documentation to function `stream` * Fix docstring --------- Co-authored-by: Christian Poli <[email protected]> Co-authored-by: xtianpoli <[email protected]> Co-authored-by: Dominik Moritz <[email protected]>
- Loading branch information