Skip to content

Commit

Permalink
Hotfix 1.14.7 (#5134)
Browse files Browse the repository at this point in the history
* Fix Violin matplotlib rendering with non-finite values (#5135)

* Handle the empty string as a group name (#5131)

* Fix unhandled numpy.round overflow return value in core/util.py:bound_range(...) (#5095)

* Core/Util: Fix unhandled np.round overflow return

The function numpy.round return for the input
np.float64(2.6558061446181644e+295) the output
numpy.inf. This should lead to
density = full_precision_density.

* Core/Util: Supress numpy.round overflow error

The function numpy.round produces for the input
numpy.float64(2.6558061446181644e+295) an
FloatingPointError with the message
"overflow encountered in multiply". This error
should be suppressed because its an internal
computation by holoview.

* Use context manager

Co-authored-by: [email protected] <[email protected]>
Co-authored-by: Philipp Rudiger <[email protected]>

* Update Plotting_with_Matplotlib.ipynb (#4983)

Ordering of the fig_bounds tuple in the documentation was different from that in e.g. https://github.com/holoviz/holoviews/blob/40977c515dd9837019aaa0e5708773e78809fbe1/holoviews/plotting/mpl/plot.py#L69

* Notimplemented binop (#5073)

* layout: Fix __add__ and __radd__ implementation

* Add layout.Layoutable as a mirror of overlay.Overlayable
* Remove a good deal of duplicated code
* Remove broken calls to super().__radd__ where the super class does not
  implement __radd__
* Return NotImplemented when Layout([x,y]) raises NotImplementedError.
  This allows correct interoperability with external classes that could
  themselves define __radd__ as stated by:
  https://docs.python.org/3/library/constants.html#NotImplemented

Fixes #3577

* overlay: deduplicate and fix __mul__

* Return NotImplemented when appropriate
* Deduplicate code between 2 non-trivial and almost identical
  implementations of __mul__
* Fix non-inheritance-friendly type checking with a local import to
  avoid cyclic dependency

Fixes #3577

* Fix matplotlib colorbar labeling for dim expressions (#5137)

* Ensure FreehandDraw renders when styles set (#5139)

* Fix datetime clipping on RangeXY stream (#5138)

* Fix Bars legend error when overlaid with annotation (#5142)

* Do not raise deprecated .opts warning for empty groups (#5144)

* Fix plotly Bar plots containing nans (#5143)

* Fix plotly Bar plots containing nans

* Update tests

* Preserve cols when overlaying on layout (#5141)

* Do not merge partially overlapping Stream callbacks (#5133)

* Do not merge partially overlapping Stream callbacks

* Add tests

* Remove print

* Add bounds to the cache_size Parameter (#5105)

* Fix broken link in Gridded user guide (#5098)

* Pin freetype on Windows due to matplotlib error (#5109)

* Fixed typo

* import bokeh's version from an internal util module (#5103)

* Add current_key property to DynamicMap (#5106)

* Validate dimensionality of xarray interface data (#5140)

* Support xyzservices.TileProvider as hv.Tiles input (#5062)

* implementation

* docstring, plotly test

* add bokeh tests

* CI: Fix before release (#5151)

* delay projection comparison to optimize geoviews (#5152)

* Test suite maintenance (#5157)

Fixed or suppressed warnings issued while running the tests

* fix cherry-pick and compatibility with holoviews 1.14

* fix linting

* Handle unsigned integer dtype in datashader aggregate operation (#5149)

* Fix docs CI build (#5088)

* Remove conda-forge from the build channels, post-install awscli and pin jupyter_client

* remove pytest usage

* add missing comma and fix test

* CI: improvements to the docs build (#5161)

* Fix for Contours consistent of empty and nonempty paths (#5162)

* Switch to the PyData sphinx theme (#5163)

* use pydata sphinx theme to build the site

* add pooch to the docs dependencies

* Add release notes for 1.14.6 and 1.14.7 (#5160)

* attempt to fix pip build

* micro fixes to the release notes

Co-authored-by: James A. Bednar <[email protected]>
Co-authored-by: w31t1 <[email protected]>
Co-authored-by: [email protected] <[email protected]>
Co-authored-by: jenssss <[email protected]>
Co-authored-by: Douglas Raillard <[email protected]>
Co-authored-by: Maxime Liquet <[email protected]>
Co-authored-by: James A. Bednar <[email protected]>
Co-authored-by: Martin Fleischmann <[email protected]>
Co-authored-by: maximlt <[email protected]>
Co-authored-by: Simon Høxbro Hansen <[email protected]>
  • Loading branch information
11 people authored Dec 16, 2021
1 parent 18b462d commit 27da6a3
Show file tree
Hide file tree
Showing 65 changed files with 943 additions and 452 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ jobs:
eval "$(conda shell.bash hook)"
conda activate test-environment
doit develop_install $CHANS_DEV -o unit_tests
conda install $CHANS_DEV "nbconvert<6"
pip uninstall -y holoviews
doit pip_on_conda
- name: pip build
Expand Down
26 changes: 18 additions & 8 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,26 @@ on:
- 'v[0-9]+.[0-9]+.[0-9]+a[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+b[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+rc[0-9]+'
workflow_dispatch:
inputs:
target:
description: 'dev or main'
required: true
default: 'dev'

jobs:
test_suite:
build_docs:
name: Documentation
runs-on: 'ubuntu-latest'
strategy:
fail-fast: false
timeout-minutes: 120
defaults:
run:
shell: bash -l {0}
env:
DESC: "Documentation build"
HV_REQUIREMENTS: "doc"
CHANS_DEV: "-c pyviz/label/dev -c bokeh -c conda-forge"
# conda-forge to install myst-nb ...
CHANS_DEV: "-c pyviz/label/dev -c conda-forge"
CHANS: "-c pyviz"
MPLBACKEND: "Agg"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -51,14 +56,19 @@ jobs:
conda config --set always_yes True
conda install -c pyviz "pyctdev>=0.5"
doit ecosystem_setup
doit env_create ${{ env.CHANS_DEV}} --python=3.7
doit env_create ${{ env.CHANS_DEV}} --python=3.8
- name: doit develop_install
run: |
eval "$(conda shell.bash hook)"
conda activate test-environment
conda list
doit develop_install ${{ env.CHANS_DEV}} -o doc
conda install -c conda-forge geckodriver selenium
conda install -c conda-forge geckodriver selenium awscli
- name: doit env_capture
run: |
eval "$(conda shell.bash hook)"
conda activate test-environment
doit env_capture
- name: bokeh sampledata
run: |
eval "$(conda shell.bash hook)"
Expand All @@ -80,13 +90,13 @@ jobs:
conda activate test-environment
nbsite build --what=html --output=builtdocs --org holoviz --project-name holoviews
- name: upload dev
if: (contains(steps.vars.outputs.tag, 'a') || contains(steps.vars.outputs.tag, 'b') || contains(steps.vars.outputs.tag, 'rc'))
if: (github.event.inputs.target == 'dev' || contains(steps.vars.outputs.tag, 'a') || contains(steps.vars.outputs.tag, 'b') || contains(steps.vars.outputs.tag, 'rc'))
run: |
eval "$(conda shell.bash hook)"
conda activate test-environment
aws s3 sync --quiet ./builtdocs s3://dev.holoviews.org/
- name: upload main
if: (!(contains(steps.vars.outputs.tag, 'a') || contains(steps.vars.outputs.tag, 'b') || contains(steps.vars.outputs.tag, 'rc')))
if: (github.event.inputs.target == 'main' || !(contains(steps.vars.outputs.tag, 'a') || contains(steps.vars.outputs.tag, 'b') || contains(steps.vars.outputs.tag, 'rc')))
run: |
eval "$(conda shell.bash hook)"
conda activate test-environment
Expand Down
14 changes: 8 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,19 +78,21 @@ jobs:
git describe
echo "======"
conda list
# Temporarily pin panel and nbconvert
- name: Pin panel and nbconvert on py36
# Pin panel on Python 3.6 because one or more dev releases on the 0.13.* series
# can be installed on Python 3.6 but are actually not compatible with Python 3.6
# Panel 0.13 will support Python >= 3.7 only so the pin here can stay indefinitely.
- name: Pin panel on py36
if: matrix.python-version == '3.6'
run: |
eval "$(conda shell.bash hook)"
conda activate test-environment
conda install -c pyviz "panel=0.12.1" "nbconvert>5"
- name: Pin panel and nbconvert on py>36
if: matrix.python-version != '3.6'
conda install -c pyviz "panel=0.12"
- name: Patch - do not install cffi 1.15.0 on macos and for python != 3.6
if: matrix.os == 'macos-latest' && matrix.python-version != '3.6'
run: |
eval "$(conda shell.bash hook)"
conda activate test-environment
conda install -c pyviz "panel=0.12.2" "nbconvert>5"
conda install ${{ env.CHANS_DEV}} "cffi!=1.15.0"
- name: doit env_capture
run: |
eval "$(conda shell.bash hook)"
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
!/doc/Reference_Manual/index.rst
.ipynb_checkpoints
.coverage
.pytest_cache

/release
/doc/Tutorials-WIP/*.ipynb
Expand Down
63 changes: 63 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,66 @@
Version 1.14.7
==============
**December 16, 2021**

This release contains a small number of important bug fixes. Many thanks
to @douglas-raillard-arm, @jenssss, @w31t1, @Hoxbro, @martinfleis, @maximlt,
@jlstevens, @jbednar, and @philippjfr.

Bug fixes:

- Support xyzservices.TileProvider as hv.Tiles input
([#5062](https://github.com/holoviz/holoviews/pull/5062))
- Allow reversed layout/overlay binary operators for `+` and `*` to be used with custom objects
([#5073](https://github.com/holoviz/holoviews/pull/5073))
- Fix internal numpy.round usage
([#5095](https://github.com/holoviz/holoviews/pull/5095))
- Remove dependency on recent Panel release by importing bokeh version from util module
([#5103](https://github.com/holoviz/holoviews/pull/5103))
- Add missing bounds for the cache_size Parameter
([#5105](https://github.com/holoviz/holoviews/pull/5105))
- Add current_key property to DynamicMap
([#5106](https://github.com/holoviz/holoviews/pull/5106))
- Pin freetype on Windows to avoid matplotlib error
([#5109](https://github.com/holoviz/holoviews/pull/5109))
- Handle the empty string as a group name
([#5131](https://github.com/holoviz/holoviews/pull/5131))
- Do not merge partially overlapping Stream callbacks
([#5133](https://github.com/holoviz/holoviews/pull/5133))
- Fix Violin matplotlib rendering with non-finite values
([#5135](https://github.com/holoviz/holoviews/pull/5135))
- Fix matplotlib colorbar labeling for dim expressions
([#5137](https://github.com/holoviz/holoviews/pull/5137))
- Fix datetime clipping on RangeXY stream
([#5138](https://github.com/holoviz/holoviews/pull/5138))
- Ensure FreehandDraw renders when styles are set
([#5139](https://github.com/holoviz/holoviews/pull/5139))
- Validate dimensionality of xarray interface data
([#5140](https://github.com/holoviz/holoviews/pull/5140))
- Preserve cols when overlaying on layout
([#5141](https://github.com/holoviz/holoviews/pull/5141))
- Fix Bars legend error when overlaid with annotation
([#5142](https://github.com/holoviz/holoviews/pull/5142))
- Fix plotly Bar plots containing NaNs
([#5143](https://github.com/holoviz/holoviews/pull/5143))
- Do not raise deprecated .opts warning for empty groups
([#5144](https://github.com/holoviz/holoviews/pull/5144))
- Handle unsigned integer dtype in datashader aggregate operation
([#5149](https://github.com/holoviz/holoviews/pull/5149))
- Delay projection comparison to optimize geoviews
([#5152](https://github.com/holoviz/holoviews/pull/5152))
- Utility to convert datetime64 to int64 and test suite maintenance
([#5157](https://github.com/holoviz/holoviews/pull/5157))
- Fix for Contours consistent of empty and nonempty paths
([#5162](https://github.com/holoviz/holoviews/pull/5162))
- Fixed docs:
* Fix `fig_bounds` description in Plotting_with_Matplotlib.ipynb
([#4983](https://github.com/holoviz/holoviews/pull/4983))
* Fix broken link in Gridded user guide
([#5098](https://github.com/holoviz/holoviews/pull/5098))
- Improved docs:
* Switch to the Pydata Sphinx theme
([#5163](https://github.com/holoviz/holoviews/pull/5163))

Version 1.14.6
==============
**September 16, 2021**
Expand Down
74 changes: 74 additions & 0 deletions doc/_static/css/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
:root {
--pst-color-primary: 47,47,47;
--pst-color-link: 163,26,38;
--pst-color-link-hover: 254,203,56;
}

.nav-link {
white-space: nowrap;
}

.showcase-table {
border-spacing: 15px
}

.showcase-table td {
border: 0px;
vertical-align: top;
}

.pl-md-5, .px-md-5 {
padding-left: 1rem !important;
}

.pt-md-5, .py-md-5 {
padding-top: 1rem !important;
}

.cell_output {
padding-left: 0;
}

@media (min-width: 1200px) {
.container, .container-lg, .container-md, .container-sm, .container-xl {
max-width: 1600px;
}
}

#scroller-right {
max-width: 14%;
}

@media (max-width: 1400px) {
#scroller-right {
position: relative;
right: unset;
top: unset;
max-width: 100%;
transform: unset;
}
}

button.toggle-button {
display: none;
}

.toggle-hidden:not(.admonition) {
height: 0;
}

.tag_hide-input {
margin-bottom: 0 !important;
}

.toggle-hidden + .cell_output {
margin-top: 0 !important;
}

#binder-link {
display: inline-block;
font-size: 0.9rem;
padding-left: 1.5rem;
padding-top: 1rem;
padding-bottom: 1rem;
}
1 change: 0 additions & 1 deletion doc/_static/holoviews.css

This file was deleted.

73 changes: 0 additions & 73 deletions doc/_static/holoviews.js

This file was deleted.

Binary file added doc/_static/logo_horizontal_theme.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
53 changes: 53 additions & 0 deletions doc/_templates/layout.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{%- extends "!layout.html" %}

{% block docs_navbar %}
<nav class="navbar navbar-dark navbar-expand-lg bg-dark fixed-top bd-navbar" id="navbar-main">
{%- include "docs-navbar.html" %}
</nav>
{% endblock %}

{% block docs_sidebar %}
{% if sidebars %}
<!-- Only show if we have sidebars configured, else just a small margin -->
<div class="col-12 col-md-2 bd-sidebar">
{%- for sidebartemplate in sidebars %}
{%- include sidebartemplate %}
{%- endfor %}
</div>
{% else %}
<div class="col-12 col-md-1 col-xl-2 bd-sidebar no-sidebar"></div>
{% endif %}
{% endblock %}

{% block docs_toc %}
<div class="d-none d-xl-block col-xl-2 bd-toc">
{% if meta is defined and not (meta is not none and 'notoc' in meta) %}
{% for toc_item in theme_page_sidebar_items %}
<div class="toc-item">
{% include toc_item %}
</div>
{% endfor %}
{% endif %}
{% if ('gallery' in pagename or 'reference' in pagename or 'user_guide' in pagename) and not pagename.endswith('index') %}
<a href="https://mybinder.org/v2/gh/holoviz/holoviews/{{ last_release }}?urlpath=lab/tree/examples/{{ pagename }}.ipynb" id="binder-link">Open this page in Binder</a>
{% endif %}
</div>
{% endblock %}

{% block docs_main %}
{% if sidebars %}
{% set content_col_class = "col-md-10 col-xl-8" %}
{% else %}
{% set content_col_class = "col-md-11 col-xl-8" %}
{% endif %}
<main class="col-12 {{ content_col_class }} py-md-5 pl-md-5 pr-md-4 bd-content" role="main">
{% block docs_body %}
<div>
{% block body %} {% endblock %}
</div>
{% endblock %}
{% if theme_show_prev_next %}
{% include "prev-next.html" %}
{% endif %}
</main>
{% endblock %}
Loading

0 comments on commit 27da6a3

Please sign in to comment.