Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the ibis histogram #5531

Draft
wants to merge 14 commits into
base: main
Choose a base branch
from
Draft

Fix the ibis histogram #5531

wants to merge 14 commits into from

Conversation

MarcSkovMadsen
Copy link
Collaborator

Enables plotting histograms with the ibis backend.

Depends on #5527

For context check out

@codecov-commenter
Copy link

codecov-commenter commented Dec 1, 2022

Codecov Report

Merging #5531 (a344388) into master (e9e97e9) will decrease coverage by 0.57%.
The diff coverage is 9.72%.

@@            Coverage Diff             @@
##           master    #5531      +/-   ##
==========================================
- Coverage   88.12%   87.55%   -0.58%     
==========================================
  Files         302      302              
  Lines       62284    62348      +64     
==========================================
- Hits        54890    54589     -301     
- Misses       7394     7759     +365     
Impacted Files Coverage Δ
holoviews/core/util.py 85.91% <ø> (ø)
holoviews/tests/core/data/test_ibisinterface.py 4.60% <8.92%> (-75.88%) ⬇️
holoviews/core/data/ibis.py 30.74% <12.50%> (-48.72%) ⬇️
holoviews/core/data/util.py 53.57% <0.00%> (-5.36%) ⬇️
holoviews/tests/core/data/test_spatialpandas.py 95.80% <0.00%> (-2.40%) ⬇️
holoviews/tests/core/test_decollation.py 98.12% <0.00%> (-1.88%) ⬇️
holoviews/element/selection.py 83.10% <0.00%> (-1.67%) ⬇️
holoviews/plotting/bokeh/styles.py 91.57% <0.00%> (-1.06%) ⬇️
... and 13 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

assert IbisInterface._get_backend(data)

def test_index_ibis_table(data):
table = IbisInterface._index_ibis_table(data)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indentation seems off.

xaxis, yaxis = plot_bokeh.axis
# Then
assert isinstance(xaxis, xaxis_type)
assert isinstance(yaxis, yaxis_type)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's remove this one for now.

@philippjfr
Copy link
Member

Adding docstrings with signatures to Interface and GridInterface would definitely a very worthwhile first step towards better defining documenting the API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants