Skip to content
Snippets Groups Projects
Commit 57bd819e authored by tomrink's avatar tomrink
Browse files

snapshot...

parent 208d4967
No related branches found
No related tags found
No related merge requests found
...@@ -298,6 +298,8 @@ def scatter_density(x, y, color=None, fname=None, fig=None): ...@@ -298,6 +298,8 @@ def scatter_density(x, y, color=None, fname=None, fig=None):
ax = fig.add_subplot(1, 1, 1, projection='scatter_density') ax = fig.add_subplot(1, 1, 1, projection='scatter_density')
if color is not None: if color is not None:
ax.scatter_density(x, y, color=color) ax.scatter_density(x, y, color=color)
else:
ax.scatter_density(x, y)
if fname is not None: if fname is not None:
fig.savefig(fname) fig.savefig(fname)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment