We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
` File "", line 102, in print(p)
File "python3.7/site-packages/ggplot/ggplot.py", line 116, in repr self.make()
File "python3.7/site-packages/ggplot/ggplot.py", line 636, in make layer.plot(ax, facetgroup, self._aes, **kwargs)
File "python3.7/site-packages/ggplot/geoms/geom_histogram.py", line 48, in plot params['bins'] = np.arange(np.min(x), np.max(x) + self.params['binwidth'], self.params['binwidth'])
ValueError: arange: cannot compute length`
I am trying to do a facet_grid of a dataframe. To order the facet I have follow this : https://stackoverflow.com/questions/42763667/ordering-the-facet-in-python-ggplot This throw the error above and the facet fail. Does the pb come from the category type of the pd.dataframe?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
`
File "", line 102, in
print(p)
File "python3.7/site-packages/ggplot/ggplot.py", line 116, in repr
self.make()
File "python3.7/site-packages/ggplot/ggplot.py", line 636, in make
layer.plot(ax, facetgroup, self._aes, **kwargs)
File "python3.7/site-packages/ggplot/geoms/geom_histogram.py", line 48, in plot
params['bins'] = np.arange(np.min(x), np.max(x) + self.params['binwidth'], self.params['binwidth'])
ValueError: arange: cannot compute length`
I am trying to do a facet_grid of a dataframe. To order the facet I have follow this : https://stackoverflow.com/questions/42763667/ordering-the-facet-in-python-ggplot
This throw the error above and the facet fail.
Does the pb come from the category type of the pd.dataframe?
The text was updated successfully, but these errors were encountered: