Open ijoseph opened 6 years ago
Not very elegant, but this fixes it:
hist = ax.scatter_density(x, y)
hist.set_extent(hist.get_extent())
Welp, that definitely isn't elegant (seems like the coding equivalent of a mathematical tautology), yet it does work! Fantastic. Thank you.
Wow, this is so good. seaborn
's hexgrid
is a joke, comparatively, in terms of both speed and informativeness.
MWE:
In a Jupyter Notebook,
throws
TypeError: 'NoneType' object is not iterable
.Using Jupyter Notebook version
5.0.0
,matplotlib
version2.1.0
on Google Chrome on MacOS 10.13.4.However, works fine with
%matplotlib notebook
.