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 matplotlib 3.4 compatibility issues with partial_plot #7330

Closed
exalate-issue-sync bot opened this issue May 11, 2023 · 2 comments
Closed

Fix matplotlib 3.4 compatibility issues with partial_plot #7330

exalate-issue-sync bot opened this issue May 11, 2023 · 2 comments

Comments

@exalate-issue-sync
Copy link

Error when trying to execute "partial_plot" method. h2o-3 version 3.32.1.7, matplotlib version: matplotlib==3.4.3
matplotlib-inline==0.1.3
Error message is as following:

{code:python}~/var/virtual-env/python37_v9_12_2021/lib/python3.7/site-packages/matplotlib/axes/_axes.py in _fill_between_x_or_y(self, ind_dir, ind, dep1, dep2, where, interpolate, step, **kwargs)
5304 where = np.asarray(where, dtype=bool)
5305 if where.size != ind.size:
-> 5306 raise ValueError(f"where size ({where.size}) does not match "
5307 f"{ind_dir} size ({ind.size})")
5308 where = where & ~functools.reduce(

ValueError: where size (1) does not match x size (11){code}

It can be reproduced by running this notebook: [https://github.com/h2oai/h2o-tutorials/blob/master/best-practices/automl/automl_gridsearch.ipynb|https://github.com/h2oai/h2o-tutorials/blob/master/best-practices/automl/automl_gridsearch.ipynb]

@h2o-ops-ro
Copy link
Collaborator

JIRA Issue Details

Jira Issue: PUBDEV-8326
Assignee: Tomas Fryda
Reporter: Tomas Fryda
State: Resolved
Fix Version: 3.34.0.1
Attachments: N/A
Development PRs: Available

@h2o-ops-ro
Copy link
Collaborator

Linked PRs from JIRA

#5760

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

No branches or pull requests

2 participants