Closed renovate[bot] closed 4 years ago
Merging #205 into dev will increase coverage by
0.03%
. The diff coverage is61.53%
.
@@ Coverage Diff @@
## dev #205 +/- ##
==========================================
+ Coverage 84.15% 84.19% +0.03%
==========================================
Files 32 32
Lines 3698 3701 +3
==========================================
+ Hits 3112 3116 +4
+ Misses 586 585 -1
Impacted Files | Coverage Δ | |
---|---|---|
pymzml/spec.py | 77.15% <54.54%> (+0.16%) |
:arrow_up: |
tests/ms2_spec_test.py | 98.21% <100.00%> (+0.06%) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 5eaf345...d3c8d17. Read the comment docs.
This PR contains the following updates:
==4.4.1
->==4.8.1
Release Notes
plotly/plotly.py
### [`v4.8.1`](https://togithub.com/plotly/plotly.py/blob/master/CHANGELOG.md#481---2020-05-28) [Compare Source](https://togithub.com/plotly/plotly.py/compare/v4.8.0...v4.8.1) ##### Fixed - Fixed the accidental removal of some functions and submodules from `plotly.colors` and `plotly.express.colors` ### [`v4.8.0`](https://togithub.com/plotly/plotly.py/blob/master/CHANGELOG.md#480---2020-05-26) [Compare Source](https://togithub.com/plotly/plotly.py/compare/v4.7.1...v4.8.0) ##### Added - `plotly` now provides a Plotly Express-backed Pandas-compatible plotting backend, which can be activated via `pandas.options.plotting.backend = "plotly"`. Note that it is not intended to implement every Pandas plotting function, nor is it intended to replicate the behaviour of every argument, although per the changes below, `x` and `y` should behave similarly. ([#2336](https://togithub.com/plotly/plotly.py/pull/2336)) - New datasets have been added to `plotly.express.data`: `stocks`, `experiment`, `medals_wide` and `medals_long`. ([#2336](https://togithub.com/plotly/plotly.py/pull/2336)) - plotly `go.Figure` and `go.FigureWidget` now have a `_repr_html_` and a `_repr_mimebundle_` method, which are [standard hooks for integration in systems based on IPython](https://ipython.readthedocs.io/en/stable/config/integrating.html). In particular, with `_repr_html_` plotly figures can now be used within [sphinx-gallery](https://sphinx-gallery.github.io/stable/index.html) without any scraper. These additions should not change anything to the way plotly figures are displayed in notebook environments, since the `_ipython_display_` method (already present in earlier versions) takes precedence over the new methods. ##### Updated - The behaviour of the `x`, `y`, `orientation`, `histfunc`, `violinmode`, `boxmode` and `stripmode` arguments for 2d-cartesian functions in Plotly Express (i.e. `scatter`, `line`, `area`, `bar`, `histogram`, `violin`, `box`, `strip`, `funnel`, `density_heatmap` and `density_contour`) has been refined ([#2336](https://togithub.com/plotly/plotly.py/pull/2336)): - if `x` or `y` is missing, it is inferred to be the index of `data_frame` if `data_frame` provided, otherwise a stable index of integers starting at 0. In the case of `px.bar`, if the provided value is not continuous, the missing value is treated as a column of 1s named "count", so as to behave more like `px.histogram` and to avoid sizing the resulting bars differently based on their position in the column. Previously, missing values defaulted to integers starting at 0 _per trace_ which made it potentially inconsistent or misleading. - if `x` (`y`) is missing, `orientation` now defaults to `v` (`h`). Previously it always defaulted to `v` but this is not considered a breaking change, as the cases in which it now defaults to `h` caused unreadable output if set to `v`. - if both `x` and `y` are provided and one of them does not contain continuous values, `orientation` defaults to the value perpendicular to that axis. Previously it always defaulted to `v` but this is not considered a breaking change, as the cases in which it now defaults to `h` caused unreadable output if set to `v`. - if either `x` or `y` (but not both) may now be provided as a list of column references into `data_frame` or columns of data, in which case the imputed data frame will be treated as "wide" data and `melt()`ed internally before applying the usual mapping rules, with function-specific defaults. - if neither `x` nor `y` is provided but `data_frame` is, the data frame will be treated as "wide" with defaults depending on the value of `orientation` (and `orientation` has accordingly been added to `scatter`, `line`, `density_heatmap`, and `density_contour` for this purpose). Previously this would have resulted in an empty figure. - if both `x` and `y` are provided to `histogram`, and if `x`, `y` and `z` are provided to `density_heatmap` or `density_contour`, then `histfunc` now defaults to `sum` so as to avoid ignoring the provided data, and to cause `histogram` and `bar` to behave more similarly. - `violinmode`, `boxmode` and `stripmode` now default to `overlay` if `x` (`y`) in in `v` (`h`) orientation is also mapped to `color`, to avoid strange spacing issues with the previous default of `group` in all cases. - The Plotly Express arguments `color_discrete_map`, `symbol_map` and `line_dash_map` now accept the string `"identity"` which causes the corresponding input data to be used as-is rather than mapped into `color_discrete_sequence`, `symbol_sequence` or `line_dash_sequence`, respectively. ([#2336](https://togithub.com/plotly/plotly.py/pull/2336)) - Plotly Express now accepts `px.Constant` or `px.Range` objects in the place of column references so as to express constant or increasing integer values. ([#2336](https://togithub.com/plotly/plotly.py/pull/2336)) ### [`v4.7.1`](https://togithub.com/plotly/plotly.py/blob/master/CHANGELOG.md#471---2020-05-08) [Compare Source](https://togithub.com/plotly/plotly.py/compare/v4.7.0...v4.7.1) ##### Fixed - Fix `AttributeError: module 'plotly.graph_objs' has no attribute 'FigureWidget'` exception on `from plotly.graph_objs import *` when `ipywidgets` is not installed. Error also occurred when importing `plotly.figure_factor`. It is now possible to import `plotly.graph_objs.FigureWidget` when `ipywidgets` is not installed, and an informative `ImportError` exception will be raised in the `FigureWidget` constructor ([#2443](https://togithub.com/plotly/plotly.py/issues/2443), [#1111](https://togithub.com/plotly/plotly.py/issues/1111)). - Fix `TypeError: unhashable type: 'Template'` during `Figure` construction when `plotly.io.templates.default` is set to a `Template` object rather than a string. ### [`v4.7.0`](https://togithub.com/plotly/plotly.py/blob/master/CHANGELOG.md#470---2020-05-06) [Compare Source](https://togithub.com/plotly/plotly.py/compare/v4.6.0...v4.7.0) ##### Updated - Updated Plotly.js to version 1.54.1. See the [plotly.js CHANGELOG](https://togithub.com/plotly/plotly.js/blob/v1.54.1/CHANGELOG.md) for more information. The main new feature of this version of Plotly.js is the possibility to draw layout shapes, using custom dragmodes and corresponding modebar buttons. - The sphinx-gallery scraper has been updated to work with different structures of galleries [#2149](https://togithub.com/plotly/plotly.py/pull/2419) ##### Added - The `hover_data` parameter of `px` functions can now be a dictionary. This makes it possible to skip hover information for some arguments or to change the formatting of hover informatiom [#2377](https://togithub.com/plotly/plotly.py/pull/2377). - It's now possible to build a development version of Plotly.py against the build artifacts from a non-`master` branch of Plotly.js, which makes for faster QA and development cycles [#2349](https://togithub.com/plotly/plotly.py/pull/2349). Thanks [@zouhairm](https://togithub.com/zouhairm) for this Pull Request! ##### Fixed - Plotly Express trendlines now handle missing data correctly [#2357](https://togithub.com/plotly/plotly.py/pull/2357) ##### Performance This version includes several performance improvements ([#2368](https://togithub.com/plotly/plotly.py/pull/2368), [#2403](https://togithub.com/plotly/plotly.py/pull/2403)). - Child graph objects (e.g. `figure.layout.xaxis`) are no longer created eagerly during graph object construction. Instead, they are created lazily the first time the property is accessed. - Property validation is now disabled for select internal operations. - When used with Python 3.7 and above, ploty.py now takes advantage of [PEP-562](https://www.python.org/dev/peps/pep-0562/) to perform submodule imports lazily. This dramatically improves import times. ### [`v4.6.0`](https://togithub.com/plotly/plotly.py/blob/master/CHANGELOG.md#460---2020-03-31) [Compare Source](https://togithub.com/plotly/plotly.py/compare/v4.5.4...v4.6.0) ##### Updated - Updated Plotly.js to version 1.53.0. See the [plotly.js CHANGELOG](https://togithub.com/plotly/plotly.js/blob/v1.53.0/CHANGELOG.md) for more information on the numerous new features and bug fixes of this release. The main features of the Plotly.js release are - Introduce range breaks on date axes (for example, to remove week-ends) via `layout.xaxis.rangebreaks` - Introduce a new unified x (or y) hovermode (`layout.hovermode="x unified"`), in which the hover box shows the information for all traces at a given x (or y) position - Add `node.customdata` and `link.customdata` to sankey traces - Updated [contributing notes](https://togithub.com/plotly/plotly.py/blob/master/contributing.md) for more explanations on how to contribute to plotly.py [#2290](https://togithub.com/plotly/plotly.py/pull/2290). Please give feedback on these notes! - Updated documentation examples [#2325](https://togithub.com/plotly/plotly.py/pull/2325), and to show how to color links in Sankey diagrams [#2291](https://togithub.com/plotly/plotly.py/pull/2291). - Special thanks to [@SylwiaOliwia2](https://togithub.com/SylwiaOliwia2) and [@dangercrow](https://togithub.com/dangercrow) for improving our documentation! ##### Added - `px.imshow` now accepts [`xarray`](http://xarray.pydata.org/) inputs, with metadata being used for axis labels, hover and colorbar [#2166](https://togithub.com/plotly/plotly.py/pull/2166) ##### Fixed - Fixed handling of `opacity` in `px.pie`, `px.funnel_area`, `px.density_mapbox`, `px.funnel` [#2317](https://togithub.com/plotly/plotly.py/pull/2317), with thanks to [@tvaucher](https://togithub.com/tvaucher) for the contribution! ### [`v4.5.4`](https://togithub.com/plotly/plotly.py/blob/master/CHANGELOG.md#454---2020-03-11) [Compare Source](https://togithub.com/plotly/plotly.py/compare/v4.5.3...v4.5.4) ##### Updated - The documentation of the APIRenovate configuration
:date: Schedule: "before 6am on the first day of the month" (UTC).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.