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

Complete read the doc file #199

Merged
merged 2 commits into from
Oct 25, 2023
Merged

Conversation

qbarthelemy
Copy link
Member

@gcattan gcattan self-requested a review October 25, 2023 20:15
Copy link
Collaborator

@gcattan gcattan left a comment

Choose a reason for hiding this comment

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

@gcattan gcattan merged commit 9c5f14b into pyRiemann:main Oct 25, 2023
11 checks passed
@qbarthelemy qbarthelemy deleted the correct_readthedoc branch October 25, 2023 20:28
@qbarthelemy
Copy link
Member Author

There is still an error in doc, see

Unexpected failing examples:
/github/workspace/examples/other_datasets/plot_tutorial_quantum_svm_titanic_data.py failed leaving traceback:
Traceback (most recent call last):
  File "/github/workspace/examples/other_datasets/plot_tutorial_quantum_svm_titanic_data.py", line 122, in <module>
    sns.catplot(
  File "/usr/local/lib/python3.9/site-packages/seaborn/categorical.py", line 3244, in catplot
    g.map_dataframe(plot_func, x=x, y=y, hue=hue, **plot_kws)
  File "/usr/local/lib/python3.9/site-packages/seaborn/axisgrid.py", line 819, in map_dataframe
    self._facet_plot(func, ax, args, kwargs)
  File "/usr/local/lib/python3.9/site-packages/seaborn/axisgrid.py", line 848, in _facet_plot
    func(*plot_args, **plot_kwargs)
  File "/usr/local/lib/python3.9/site-packages/seaborn/categorical.py", line 2955, in countplot
    plotter.plot(ax, kwargs)
  File "/usr/local/lib/python3.9/site-packages/seaborn/categorical.py", line 1587, in plot
    self.annotate_axes(ax)
  File "/usr/local/lib/python3.9/site-packages/seaborn/categorical.py", line 767, in annotate_axes
    ax.legend(loc="best", title=self.hue_title)
  File "/usr/local/lib/python3.9/site-packages/matplotlib/axes/_axes.py", line 322, in legend
    handles, labels, kwargs = mlegend._parse_legend_args([self], *args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/matplotlib/legend.py", line 1361, in _parse_legend_args
    handles, labels = _get_legend_handles_labels(axs, handlers)
  File "/usr/local/lib/python3.9/site-packages/matplotlib/legend.py", line 1291, in _get_legend_handles_labels
    if label and not label.startswith('_'):
AttributeError: 'numpy.int64' object has no attribute 'startswith'

@gcattan
Copy link
Collaborator

gcattan commented Oct 25, 2023

Hm. could be that the version of seaborn is not compatible.

@gcattan
Copy link
Collaborator

gcattan commented Oct 25, 2023

This or MOABB ^^
image

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.

2 participants