astrofrog / mpl-scatter-density

:zap: Fast scatter density plots for Matplotlib :zap:
BSD 2-Clause "Simplified" License
497 stars 25 forks source link

Symlog scale does not work with mpl-scatter-density #33

Open fabienpaulot opened 3 years ago

fabienpaulot commented 3 years ago

Hello, first off thanks for developing such a useful tool.

I am trying to make a density plot using mpl-scatter-density and rescale the xaxis using the symlog scale. This scale is available with matplotlib but it fails when using mpl-scatter-density.

I am not sure how to address this issue.

Thanks

To reproduce the issue

fig=plt.figure()

x=np.linspace(1,10,100)

ax=fig.add_subplot(1, 1, 1,projection='scatter_density') ax.scatter_density(x,x) ax.set_xscale('symlog')

error: ValueError: Unexpected xscale: symlog