Plotly figures as a custom component for IDOM
Use pip
to install this package:
pip install idom-plotly
For a developer installation from source be sure to install NPM before running:
git clone https://github.com/idom-team/idom-plotly
cd idom-plotly
pip install -e . -r requirements.txt
To release a new version of idom-plotly on PyPI:
- Install
twine
withpip install twine
- Update the
version = "x.y.z"
variable inidom-plotly/__init__.py
git
add the changes to__init__.py
and create agit tag -a x.y.z -m 'comment'
- Build the Python package with
python setup.py sdist bdist_wheel
- Check the build artifacts
twine check --strict dist/*
- Upload the build artifacts to PyPI
twine upload dist/*
To release a new version of idom-plotly-react
on NPM:
- Update
js/package.json
with new npm package version - Clean out prior builds
git clean -fdx
- Install and publish
npm install && npm publish