From e74eeb15d15e269755fe6111087d3ce94ee0b0481177831a0ff5a09da694003f Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sat, 26 Jan 2019 21:22:48 +0000 Subject: [PATCH] Accepting request 668731 from devel:languages:python:numeric - Fix dependency issue. - Update to version 3.5.0 OBS-URL: https://build.opensuse.org/request/show/668731 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-plotly?expand=0&rev=10 --- plotly-2.5.1.tar.gz | 3 - plotly-3.5.0-py2.py3-none-any.whl | 3 + python-plotly.changes | 470 ++++++++++++++++++++++++++++++ python-plotly.spec | 69 ++++- 4 files changed, 526 insertions(+), 19 deletions(-) delete mode 100644 plotly-2.5.1.tar.gz create mode 100644 plotly-3.5.0-py2.py3-none-any.whl diff --git a/plotly-2.5.1.tar.gz b/plotly-2.5.1.tar.gz deleted file mode 100644 index e13e723..0000000 --- a/plotly-2.5.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9dd816c36271cf81d82c854fba866c743cbd8cc71f1c95384195307def859a69 -size 24912425 diff --git a/plotly-3.5.0-py2.py3-none-any.whl b/plotly-3.5.0-py2.py3-none-any.whl new file mode 100644 index 0000000..d93e62a --- /dev/null +++ b/plotly-3.5.0-py2.py3-none-any.whl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9489e8d772bdf700ef9dad55941c3e1b3430f71a08da4e8bfbd8f5838d274ff1 +size 38349278 diff --git a/python-plotly.changes b/python-plotly.changes index 50162a9..4371016 100644 --- a/python-plotly.changes +++ b/python-plotly.changes @@ -1,3 +1,473 @@ +------------------------------------------------------------------- +Fri Jan 25 19:38:36 UTC 2019 - Todd R + +- Fix dependency issue. + +------------------------------------------------------------------- +Fri Jan 4 19:08:41 UTC 2019 - Todd R + +- Update to version 3.5.0 + + Updated + * Updated Plotly.js to version 1.43.1. See the + plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#1431----2018-12-21) + or more information. + + Changed + * Plotly.js 1.43 converted `title` properties (e.g. `layout.title`) from + trings into compound objects that contain the text as the `text` property + long with new title placement attributes `x`, `y`, `xref`, `yref`, `xanchor`, + yanchor` and `pad`. Plotly.py 3.5.0 follows the new schema, but still + upports specifying `title` as a string, in which case the string is assigned + o the `title.text` property + [#1302](https://github.com/plotly/plotly.py/issues/1302)) + * Plotly.js 1.43 also moved existing `title*` properties + e.g. `layout.titlefont`) under the `title` object (e.g. `layout.title.font`). + lotly.py 3.5.0 follows the new schema, but still + upports the legacy `title*` properties by mapping them to the corresponding + title.*` property + [#1302](https://github.com/plotly/plotly.py/issues/1302)) + * The `update` method on `graph_objs` now returns the updated object in order + o support chaining multiple update operations together + [#1379](https://github.com/plotly/plotly.py/issues/1379)) + * The `show_link` option has been set to `False` by default in the offline + plot` and `iplot` functions. Now that the "send data to cloud" button has + een disabled by default in plotly.js 1.43.0, no buttons/links will be + isplayed by default that result in data being sent off of the local machine + [#1304](https://github.com/plotly/plotly.py/issues/1304)) + * `config` options that are not known by plotly.py result in a warning but are + till passed along to plotly.js. Prior to this change these unknown options + ere dropped silently + [#1290](https://github.com/plotly/plotly.py/issues/1290)) + * Built-in themes now specify colorscales using the new global + layout.colorscale` properties. Previously the colorscales were defined for + ach trace type individually. This reduces the size of the resulting theme + iles + [#1303](https://github.com/plotly/plotly.py/issues/1303)) + * Increased the maximum retry time of the orca integration from 8s to 30s + [#1297](https://github.com/plotly/plotly.py/issues/1297)) + + Fixed + * Fixed `FigureWidget` performance regression that, when working with + arge datasets, resulted in a slight freeze of the widget after user + nteractions (pan, zoom, etc) + [1305](https://github.com/plotly/plotly.py/issues/1305)) + * Fix orca error when the `ELECTRON_RUN_AS_NODE` environment variable is set + [#1293](https://github.com/plotly/plotly.py/issues/1293)) + * The `'responsive'` config key was being silently blocked + [#1290](https://github.com/plotly/plotly.py/issues/1290)) + * Fixed error when using unicode characters in string properties on Python 2 + [#1289](https://github.com/plotly/plotly.py/issues/1289)) + * Removed invalid calls to non-existent `validate` and `strip_style` `Figure` + ethods in matplotlylib conversion logic + [#1128](https://github.com/plotly/plotly.py/issues/1128)) +- Update to version 3.4.2 + + Fixed + * `config` options are now supported when using `plotly.offline.iplot` to + isplay a figure in JupyterLab. Requires version 0.18.1 of the + @jupyterlab/plotly-extension` extension. + [#1281](https://github.com/plotly/plotly.py/pull/1281), + jupyterlab/jupyter-renderers#168](https://github.com/jupyterlab/jupyter-renderers/pull/168)) + * Custom `plotly_domain` values are now supported in FigureWidget in both + he classic notebook and JupyterLab + [#1284](https://github.com/plotly/plotly.py/pull/1284)) +- Update to version 3.4.1 + + Updated + * Updated Plotly.js to version 1.42.5. See the + plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#1423----2018-11-06) + or more information. + + Fixed + * Fixed histogram binning with pandas `Series` or numpy array + regression introduced in 3.4.0) + [#1257](https://github.com/plotly/plotly.py/issues/1257), + plotly/plotly.js#3211](https://github.com/plotly/plotly.js/pull/3211)) + * Fixed incorrect validation error on the `args` property of + layout.updatemenu.Button()` when value is a `list` that starts with a `list` + [#1265](https://github.com/plotly/plotly.py/issues/1265)) + * Fixed deadlock causing `plotly.io.write_image` to hang on Windows after + xporting more than ~25 images + [#1255](https://github.com/plotly/plotly.py/issues/1255)) + * Fixed plot display error for `scattergl` trace with `mode='lines'` and + ore than 100k points + [#1271](https://github.com/plotly/plotly.py/issues/1271)) + * Fixed responsive resizing error with `iplot` in the classic notebook + [#1263](https://github.com/plotly/plotly.py/pull/1263)) +- Update to version 3.4.0 + + Updated + * Updated Plotly.js to version 1.42.2. Select highlights included below, see + he [plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#1422----2018-11-01) + or more information. + + Added + * Default figure properties may now be customized using figure + emplates (themes) and 7 new predefined templates are bundled with + lotly.py + [#1224](https://github.com/plotly/plotly.py/pull/1224)) + * Added Parallel Categories (`parcats`) trace type for the visualization + f multi-dimensional categorical datasets + [plotly/plotly.js#2963](https://github.com/plotly/plotly.js/pull/2963)) + * Added LaTeX typesetting support for figures displayed in the Jupyter + otebook using `plotly.offline.iplot` and `plotly.graph_objs.FigureWidget`. + *Note:** There are still outstanding issues with MathJax rendering in FireFox, + ut it is now working well in Chrome. + [#1243](https://github.com/plotly/plotly.py/pull/1243)) + * Added `include_mathjax` argument to `plotly.offline.plot` to support + he creation of HTML files with LaTeX typesetting + [#1243](https://github.com/plotly/plotly.py/pull/1243)) + * Added new `plotly.offline.get_plotlyjs` function that returns the + ontents of the bundled plotly.js library as a string + [#637](https://github.com/plotly/plotly.py/issues/637), + #1246](https://github.com/plotly/plotly.py/pull/1246)) + * Added new `plotly.offline.get_plotlyjs_version` function that returns + he version of the bundled plotly.js library + [#1246](https://github.com/plotly/plotly.py/pull/1246)) + * HTML div strings returned by `plotly.offline.plot` now contain logic + o automatically resize the figure responsively. This logic was previously + nly added for html files. + [#1043](https://github.com/plotly/plotly.py/issues/1043), + #1234](https://github.com/plotly/plotly.py/pull/1234)) + * Figures displayed using `plotly.offline.iplot` in the classic Jupyter + otebook will now resize responsively + [#1234](https://github.com/plotly/plotly.py/pull/1234)) + * Added `'cdn'`, `'directory'`, and path string `include_plotlyjs` options + n `plotly.offline.plot` + [#1234](https://github.com/plotly/plotly.py/pull/1234)) + > When `'cdn'`, the resulting html file/div includes a script tag reference + to the plotlyjs cdn. + > When `'directory'`, the resulting html file/div includes a script tag + reference to a plotly.min.js bundle in the same directory as the html file. + If `output_type` is `'file'` then this plotly.min.js bundle is created in + the output directory if it doesn't already exist. + > When a string ending with `'.js'`, the resulting html file/div includes + a script tag that references this exact path. This can be used to point + to a plotly.js bundle from an alternative CDN. + * Added a new `color_threshold` argument to the `create_dendrogram` figure + actory to control the dendrogram clustering cutoff + [#995](https://github.com/plotly/plotly.py/issues/995), + #1075](https://github.com/plotly/plotly.py/pull/1075), + #1214](https://github.com/plotly/plotly.py/pull/1214)) + * Added support for `autorange='reversed'` in 3D axes + [#803](https://github.com/plotly/plotly.py/issues/803), + plotly/plotly.js#3141](https://github.com/plotly/plotly.js/pull/3141)) + * Added new gl3d tick and title auto-rotation algorithm that limits text + verlaps + [plotly/plotly.js#3084](https://github.com/plotly/plotly.js/pull/3084), + plotly/plotly.js#3131](https://github.com/plotly/plotly.js/pull/3131)) + * Added `modebar` layout style attributes: + orientation`, `bgcolor`, `color` and `activecolor` + [plotly/plotly.js#3068](https://github.com/plotly/plotly.js/pull/3068), + plotly/plotly.js#3091](https://github.com/plotly/plotly.js/pull/3091)) + * Added `title`, `titleposition` and `titlefont` attributes to pie traces + [plotly/plotly.js#2987](https://github.com/plotly/plotly.js/pull/2987)) + * Added `hoverlabel.split` attribute to `ohlc` and `candlestick` traces to + plit hover labels into multiple pieces + [plotly/plotly.js#2959](https://github.com/plotly/plotly.js/pull/2959)) + * Added support for `line.shape` values `'hv'`, `'vh'`, `'hvh'` + nd `'vhv'` in `scattergl` traces + [plotly/plotly.js#3087](https://github.com/plotly/plotly.js/pull/3087)) + * Added trace, node and link `hoverinfo` for `sankey` traces + [#3096](https://github.com/plotly/plotly.js/pull/3096), + #3150](https://github.com/plotly/plotly.js/pull/3150)) + * Added per-sector `textfont` settings in pie traces + [#3130](https://github.com/plotly/plotly.js/pull/3130)) + + Changed + * Use new Plotly logo in "Produced with Plotly" modebar button + [plotly/plotly.js#3068](https://github.com/plotly/plotly.js/pull/3068)) + + Fixed + * Plotly's use of MathJax for LaTeX typesetting no longer interferes with + he Jupyter Notebook's use of MathJax + [#445](https://github.com/plotly/plotly.py/issues/445), + #360](https://github.com/plotly/plotly.py/issues/360)) + * Fixed several issues with the use of `reversescale=True` in the + create_annotated_heatmap` figure factory + [#1251](https://github.com/plotly/plotly.py/pull/1251)) + * Fixed case where `plotly.offline.iplot` would fail to render in the classic + upyter Notebook if the notebook contained a Markdown headline with the text + Plotly" + [#816](https://github.com/plotly/plotly.py/issues/816)) + * `None` values in a `scatter.hovertext` list are now omitted from the + over label rather than being displayed as the string `"None"` + [#1244](https://github.com/plotly/plotly.py/issues/1244)) + * Subplot titles created by `plotly.tools.make_subplots` are now positioned + roperly when custom `row_width`/`column_width` arguments are specified + [#1229](https://github.com/plotly/plotly.py/issues/1229)) + * The `bar.width` property may now be specified as a numpy array or a pandas + eries + [#1231](https://github.com/plotly/plotly.py/issues/1231), + plotly/plotly.js#3169](https://github.com/plotly/plotly.js/pull/3169)) + * Error bars are now scaled correctly for logarithmic `scatter3d` traces + [#1139](https://github.com/plotly/plotly.py/issues/1139)) + * Use `uuid.uuid4` rather than `uuid.uuid1` to work around an upstream + ython bug + [#1235](https://github.com/plotly/plotly.py/issues/1235), + [#1236](https://github.com/plotly/plotly.py/pull/1236)) + * The `layout.grid.subplots` property may now be specified as a 2D list of + ubplot identifiers + [#1220](https://github.com/plotly/plotly.py/issues/1220), + #1240](https://github.com/plotly/plotly.py/pull/1240)) + * Fixed `scatter3d` text alignment + [#1055](https://github.com/plotly/plotly.py/issues/1055), + plotly/plotly.js#3180](https://github.com/plotly/plotly.js/pull/3180)) + + JupyterLab Versions + For use with JupyterLab, the following versions of the following packages + must be installed: + * Python Packages + > plotly==3.4.0 + > ipywidgets>=7.2 + > notebook>=5.3 + > jupyterlab==0.35 + * JupyterLab Extensions + > plotlywidget@0.5.0 + > @jupyter-widgets/jupyterlab-manager@0.38 + > @jupyterlab/plotly-extension@0.18 +- Update to version 3.3.0 + + Updated + * Updated Plotly.js to version 1.41.3. Select highlights included below, see + the plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#1413----2018-09-25) + or more information. + * Do not create or check permissions on the `~/.plotly` configuration + irectory until a configuration write operation is performed + [#1195](https://github.com/plotly/plotly.py/pull/1195)). This change + voids some concurrency problems associated with running many instances of + lotly.py simultaneously + [#1068](https://github.com/plotly/plotly.py/issues/1068)). + + Added + * Enable selection by clicking on points via new layout attribute `clickmode` and flag `'select'` + [#2944](https://github.com/plotly/plotly.js/pull/2944)) + * Added stacked area charts via new attributes `stackgroup` and `stackgaps` in scatter traces + [#2960](https://github.com/plotly/plotly.js/pull/2960)) + * Added `barpolar` trace type - which replace and augment area traces + [#2954](https://github.com/plotly/plotly.js/pull/2954)) + * Added `polar.hole` layout parameter to punch hole at the middle of polar + ubplot offsetting the start of the radial range + [#2977](https://github.com/plotly/plotly.js/pull/2977), [#2996](https://github.com/plotly/plotly.js/pull/2996)) + * Figures may now be easily converted to and from JSON using the new + to_json`, `from_json`, `read_json`, and `write_json` functions in the + plotly.io` package + [#1188](https://github.com/plotly/plotly.py/pull/1188)) + * Figures and graph objects now support `deepcopy` and `pickle` operations + [#1191](https://github.com/plotly/plotly.py/pull/1191)) + * The location of the `"~/.plotly"` settings directory may now be customized + sing the `PLOTLY_DIR` environment variable + [#1195](https://github.com/plotly/plotly.py/pull/1195)) + * Added optional `scaleratio` argument to the `create_quiver` figure factory. + hen specified, the axes are restricted to this ratio and the quiver arrows + re computed to have consistent lengths across angles. + [#1197](https://github.com/plotly/plotly.py/pull/1197)) + + Fixed + * Replace use of `pkg_resources.resource_string` with `pkgutil.get_data` to + mprove compatibility with `cx_Freeze` + [#1201](https://github.com/plotly/plotly.py/pull/1201)) + * An exception is no longer raised when an optional dependency raises an + xception on import. The exception is logged and plotly.py continues as if + he dependency were not installed + [#1192](https://github.com/plotly/plotly.py/pull/1192)) + * Fixed invalid dendrogram axis labels when the points being clustered contain + uplicate values + [#1186](https://github.com/plotly/plotly.py/pull/1186)) + * Added missing LICENSE.txt file to PyPI source distribution + [#765](https://github.com/plotly/plotly.py/issues/765)) + + JupyterLab Versions + For use with JupyterLab, the following versions of the following packages + must be installed: + * Python Packages + > plotly==3.3.0 + > ipywidgets>=7.2 + > notebook>=5.3 + > jupyterlab==0.34 + * JupyterLab Extensions + > plotlywidget@0.4.0 + > @jupyter-widgets/jupyterlab-manager@0.37 + > @jupyterlab/plotly-extension@0.17 +- Update to version 3.2.1 + This is a patch release that fixes a few bugs and reintroduces a few + version 2 features that were not supported in version 3. + The bundled version of plotly.js remains at 1.40.1 + + JupyterLab Versions + For use with JupyterLab, the following versions of the following packages + must be installed: + * Python Packages + > plotly==3.2.1 + > ipywidgets>=7.2 + > notebook>=5.3 + > jupyterlab==0.34 + * JupyterLab Extensions + > plotlywidget@0.3.0 + > @jupyter-widgets/jupyterlab-manager@0.37 + > @jupyterlab/plotly-extension@0.17 + + Added + * An optional `skip_invalid` argument has been added to the `Figure` and + FigureWidget` constructors. By default, `skip_invalid` is `False` and invalid + igure properties will result in an exception (this is identical to the + revious behavior). When `skip_invalid` is set to `True`, invalid properties + ill instead be silently ignored. This argument replaces the `_raise` + rgument that was available in version 2, and makes it possible to import + igure definitions from different plotly versions, where incompatible + roperties are ignored rather than causing an exception. + * A `to_ordered_dict` method has been added to the `Figure` and `FigureWidget` + lasses. This method returns a representation of the figure as a nested + tructure of `OrdererdDict` and `list` instances where the keys in each + OrderedDict` are sorted alphabetically. This method replaces the + get_ordered` method that was available in version 2, and makes it possible + o traverse the nested structure of a figure in a deterministic order. + + Fixed + * Pandas `Series` and `Index` objects storing `datetime` values were + incorrectly cast to numeric arrays + ([plotly/plotly.py#1160](https://github.com/plotly/plotly.py/issues/1160), + [plotly/plotly.py#1163](https://github.com/plotly/plotly.py/pull/1163)) + * Numpy arrays with `uint64` datatype caused a `FigureWidget` error, + and no figure was displayed + ([plotly/plotly.py#1155](https://github.com/plotly/plotly.py/issues/1155), + [plotly/plotly.py#1163](https://github.com/plotly/plotly.py/pull/1163)) +- Update to version 3.2.0 + This release introduces the long-anticipated ability to programmatically + export figures as high quality static images in both raster and vector + formats. + + JupyterLab Versions (Python 3.5+) + For use with JupyterLab, the following versions of the following packages + must be installed: + * Python Packages + > plotly==3.2.0 + > ipywidgets>=7.2 + > notebook>=5.3 + > jupyterlab==0.34 + * JupyterLab Extensions + > plotlywidget@0.3.0 + > @jupyter-widgets/jupyterlab-manager@0.37 + > @jupyterlab/plotly-extension@0.17 + + Added + * plotly.js version 1.40.1, which introduces the following features: + > Allow `contour`, `contourcarpet` and `histogram2dcontour` to have corresponding legend items using `showlegend` + ([plotly/plotly.js#2891](https://github.com/plotly/plotly.js/pull/2891), + [plotly/plotly.js#2914](https://github.com/plotly/plotly.js/pull/2914)) + > Add scatterpolar and scatterpolargl attributes `r0`, `dr`, `theta0` and `dtheta` + ([plotly/plotly.js#2895](https://github.com/plotly/plotly.js/pull/2895)) + > Add layout attributes `piecolorway` and `extendpiecolors` for more control over pie colors + ([plotly/plotly.js#2870](https://github.com/plotly/plotly.js/pull/2870)) + > Add `splom` attribute `dimensions[i].axis.type` to easily override axis type in splom-generated axes + ([plotly/plotly.js#2899](https://github.com/plotly/plotly.js/pull/2870)) + > Add support for on-graph text in `scatterpolargl` traces + ([plotly/plotly.js#2895](https://github.com/plotly/plotly.js/pull/2895)) + > See [the plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#1400----2018-08-16) + for bug fixes and more information. + * Support for offline static image export with the `to_image` and `write_image` + functions in the new `plotly.io` package ([#1120](https://github.com/plotly/plotly.py/pull/1120)). + > Note: Image export requires the plotly [orca](https://github.com/plotly/orca) + command line utility and the [`psutil`](https://github.com/giampaolo/psutil) Python package. + * New documentation sections covering [Static Image Export](https://plot.ly/python/static-image-export/) + and [Orca Management](https://plot.ly/python/orca-management/) + * Support for displaying `FigureWidget` instances in static contexts + (e.g. [nbviewer](http://nbviewer.jupyter.org/)) just like the built-in ipywidgets + [#1117](https://github.com/plotly/plotly.py/pull/1117)) + * Full integration of the Cividis colorscale ([#883](https://github.com/plotly/plotly.py/pull/883)) + * conda packaging + > From here forward, new versions of plotly.py will be published to the [plotly anaconda channel](https://anaconda.org/plotly/) + on the same day they are published to PyPI. + ([72ad0e4](https://github.com/plotly/plotly.py/commit/72ad0e4bf54bb8a06445d2ca55488ffc11c836a7)) + > The [`README`](README.md) now includes conda installation instructions alongside the pip instructions. + > In addition to the existing installation approaches, orca is now also available as a + [conda package](https://anaconda.org/plotly/plotly-orca) from the plotly anaconda channel. + + Updated + * Show traces at the top of the Gantt chart's colorbar ([#1110](https://github.com/plotly/plotly.py/pull/1110)) + * Significantly improved validation performance for numeric pandas `Series` objects ([#1149](https://github.com/plotly/plotly.py/pull/1149)) + * Specialize auto-generated docstrings for Python syntax + * More robust and specific logic for retrying requests to the plot.ly cloud service ([#1146](https://github.com/plotly/plotly.py/pull/1146)) + * Support basic authentication when using the streaming API behind a proxy server ([#1133](https://github.com/plotly/plotly.py/pull/1133)) + + Fixed + * Validators for `dash` properties (e.g. `scatter.line.dash`) incorrectly rejected dash length lists ([#1136](https://github.com/plotly/plotly.py/pull/1136)) + * Annotated heatmap error when custom colorscale was specified ([#1151](https://github.com/plotly/plotly.py/pull/1151)) + * Incorrect deprecation warning for deprecated `plotly.graph_objs.Annotations` class ([#1138](https://github.com/plotly/plotly.py/pull/1138)) + * Harmless JavaScript console error when opening an html file produced by `plotly.offline.plot` ([#1152](https://github.com/plotly/plotly.py/pull/1152)) + * Incorrect validation errors when writing data to the streaming API ([#1145](https://github.com/plotly/plotly.py/pull/1145)) +- Update to version 3.1.1 + This release is a minor bug-fix update to version 3.1.0 + + JupyterLab Versions + For use with JupyterLab, the following versions of the following packages + must be installed: + * Python Packages + > plotly==3.1.1 + > ipywidgets>=7.2 + > notebook>=5.3 + > jupyterlab==0.33 + * JupyterLab Extensions + > plotlywidget@0.2.1 + > @jupyter-widgets/jupyterlab-manager@0.36 + > @jupyterlab/plotly-extension@0.16 + + Updated + * Updated plotly.js to version 1.39.4. + This is a bug-fix release of plotly.js + + Fixed + * Fixed error in validation of configkeys + [plotly/plotly.js#1065](https://github.com/plotly/plotly.py/pull/1065) + * Fixed error in presentation of named colorscales + [plotly/plotly.js#1089](https://github.com/plotly/plotly.py/pull/1089) + * Fixed numerical precision error when using `plotly.tools.make_subplots` + to create figures with a large number of subplots + [plotly/plotly.js#1091](https://github.com/plotly/plotly.py/pull/1091) + * Fixed problem that prevented the use of the `.update` method to initialize + an array property (e.g. `layout.shapes`) + [plotly/plotly.js#1091](https://github.com/plotly/plotly.py/pull/1092) + * Fixed `FigureWidget` problem causing scroll zoom on 3D plots to stutter + [plotly/plotly.js#1094](https://github.com/plotly/plotly.py/pull/1094) + * Fixed invalid `tickmode` property in `matplotlylib` + [plotly/plotly.js#1101](https://github.com/plotly/plotly.py/pull/1101) +- Update to version 3.1.0 + + JupyterLab Versions + For use with JupyterLab, the following versions of the following packages + must be installed. See [README.md](README.md) for instructions. + * Python Packages + > plotly==3.1.0 + > ipywidgets>=7.2 + > notebook>=5.3 + > jupyterlab==0.32.1 + * JupyterLab Extensions + > plotlywidget@0.2.0 + > @jupyter-widgets/jupyterlab-manager@0.35 + > @jupyterlab/plotly-extension@0.16 + + Updated + * Updated Plotly.js to version 1.39.2 + * See highlights below + * See [the plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#1392----2018-07-16) for more information. + + Added + * Added 3D streamtube traces + [plotly/plotly.js#2658](https://github.com/plotly/plotly.js/pull/2658) + * Added support for on-graph text in scattergl traces + * Added gridshape attribute to polar subplots with values 'circular' (the default) and 'linear' (to draw polygon grids) + [plotly/plotly.js#2739](https://github.com/plotly/plotly.js/pull/2739) +- Update to version 3.0.2 + This is a minor bug-fix release to 3.0.0 + + JupyterLab plotlywidget version: 0.1.1 + + Plotly.js version: 1.38.3 + + Fixed + * Several errors related to numbered subplot labels (e.g. xaxis2, polar3, etc.) + [GH1057](https://github.com/plotly/plotly.py/pull/1057) + * Error where the `v` property was ignored in `cone` traces + [GH1060](https://github.com/plotly/plotly.py/pull/1060) + * Assorted performance improvements when constructing graph objects + [GH1061](https://github.com/plotly/plotly.py/pull/1061) +- Update to version 3.0.1 [YANKED] + Note: This release's installation was broken. It has been removed from PyPI +- Update to version 3.0.0 + This is a major version with many exciting updates. + + JupyterLab plotlywidget version: 0.1.1 + + Plotly.js version: 1.38.3 + + Added + * Full Jupyter ipywidgets integration with the new `graph_objs.FigureWidget` class + * `FigureWidget` figures can be updated interactively using property assignment syntax + * The full trace and layout API is generated from the plotly schema to provide a great experience for interactive use in the notebook + * Support for setting array properties as numpy arrays. When numpy arrays are used, ipywidgets binary serialization protocol is used to avoid converting these to JSON strings. + * Context manager API for animation. Run `help(go.Figure().batch_animate)` for the full doc string. + * Perform automatic retries when communicating with plot.ly services. This introduces a new required dependency on the [retrying](https://pypi.org/project/retrying/) library. + * Improved data validation covering the full API with clear, informative error messages. This means that incorrect properties and/or values now always raise a `ValueError` with a description of the error, the invalid property, and the available properties on the level that it was placed in the graph object. Eg. `go.Scatter(foo=123)` raises a validation error. See https://plot.ly/python/reference/ for a reference to all valid properties and values in the Python API. + * Error message for `plotly.figure_factory.create_choropleth` is now helpful to Anaconda users who do not have the correct modules installed for the County Choropleth figure factory. + + Changed / Deprecated +Please see the [migration guid](migration-guide.md) for a full list of the changes and deprecations in version 3.0.0 +- Update to version 2.7.0 + + Updated + * Updated `plotly.min.js` to version 1.38.0. + New features include a `3D cone` trace to visualize vector fields. +- Update to version 2.6.0 + + Updated + * Updated `plotly.min.js` to version 1.37.1. + New features include a `splom` (scatter plot matrix) trace type. + * Error message for `plotly.figure_factory.create_choropleth` is more helpful for Windows users on installing `geopandas` and dependencies including `shapely`. + ------------------------------------------------------------------- Thu Apr 19 16:56:41 UTC 2018 - toddrme2178@gmail.com diff --git a/python-plotly.spec b/python-plotly.spec index c581acc..62bd114 100644 --- a/python-plotly.spec +++ b/python-plotly.spec @@ -12,40 +12,40 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-plotly -Version: 2.5.1 +Version: 3.5.0 Release: 0 Summary: Library for collaborative, interactive, publication-quality graphs License: MIT Group: Development/Languages/Python -Url: https://plot.ly/api/python -Source: https://files.pythonhosted.org/packages/source/p/plotly/plotly-%{version}.tar.gz +Url: https://github.com/plotly/plotly.py +Source: https://files.pythonhosted.org/packages/py2.py3/p/plotly/plotly-%{version}-py2.py3-none-any.whl BuildRequires: %{python_module decorator >= 4.0.6} BuildRequires: %{python_module devel} BuildRequires: %{python_module jupyter_nbformat >= 4.2} +BuildRequires: %{python_module jupyter_ipython} +BuildRequires: %{python_module jupyter_ipywidgets} +BuildRequires: %{python_module jupyter_notebook} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytz} +BuildRequires: %{python_module retrying >= 1.3.3} BuildRequires: %{python_module requests} -BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-decorator >= 4.0.6 -Requires: python-jupyter_nbformat >= 4.2 Requires: python-pytz Requires: python-requests +Requires: python-retrying >= 1.3.3 Requires: python-six -Recommends: python-jupyter_ipython -Recommends: python-jupyter_ipywidgets -Recommends: python-jupyter_notebook Recommends: python-matplotlib >= 1.3.1 Recommends: python-numpy Recommends: python-pandas -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages @@ -58,19 +58,56 @@ Python API allows you to access all of Plotly's functionality from Python. Plotly figures are shared, tracked, and edited all online and the data is always accessible from the graph. +%package jupyter +Summary: Jupyter notebook integration for %{name} +Requires: %{name} = %{version} +Requires: python-jupyter_nbformat >= 4.2 +Requires: python-jupyter_ipython +Requires: python-jupyter_ipywidgets +Requires: python-jupyter_notebook +Provides: python-jupyter_plotly = %{version} +%ifpython2 +Requires: python3-plotly-jupyter = %{version} +%endif + +%description jupyter +Use this package to make collaborative, interactive, +publication-quality graphs from Python on https://plot.ly. + +Plotly is an online collaborative data analysis and graphing tool. The +Python API allows you to access all of Plotly's functionality from Python. +Plotly figures are shared, tracked, and edited all online and the data is +always accessible from the graph. + +This package provides Jupyter Notebook integration and widgets. + %prep -%setup -q -n plotly-%{version} +%setup -c -T %build -%python_build +# Not Needed %install -%python_install +%python_expand pip%{$python_bin_suffix} install --root=%{buildroot} %{SOURCE0} %python_expand %fdupes %{buildroot}%{$python_sitelib} +if [ "$(dirname %{_prefix}/etc/jupyter)" != "$(dirname %{_sysconfdir}/jupyter)" ]; then +mkdir -p %{buildroot}%{_sysconfdir} +mv %{buildroot}%{_prefix}/etc/jupyter %{buildroot}%{_sysconfdir}/jupyter +rm -d %{buildroot}%{_prefix}/etc +fi + +cp %{buildroot}%{python_sitelib}/plotly-%{version}.dist-info/LICENSE.txt . + %files %{python_files} -%defattr(-,root,root,-) -%doc README.rst -%{python_sitelib}/* +%license %{python_sitelib}/plotly-%{version}.dist-info/LICENSE.txt +%{python_sitelib}/_plotly_utils/ +%{python_sitelib}/plotly/ +%{python_sitelib}/plotly-%{version}.dist-info/ + +%files %{python_files jupyter} +%{python_sitelib}/plotlywidget/ +%python3_only %{_datadir}/jupyter/nbextensions/plotlywidget/ +%python3_only %config %{_sysconfdir}/jupyter/nbconfig/notebook.d/plotlywidget.json %changelog