Seaborn: I just want a log scale Seaborn: I just want a log scale pandas pandas

Seaborn: I just want a log scale


mybins=np.logspace(0, np.log(100), 100)g = sns.JointGrid(data1, data2, data, xlim=[.5, 1000000],                  ylim=[.1, 10000000])g.plot_marginals(sns.distplot, color='blue', bins=mybins)g = g.plot(sns.regplot, sns.distplot)g = g.annotate(stats.pearsonr)ax = g.ax_jointax.set_xscale('log')ax.set_yscale('log')g.ax_marg_x.set_xscale('log')g.ax_marg_y.set_yscale('log')

This worked just fine. In the end, I decided to just convert my table values into log(x), since that made the graph easier to scale and visualize in the short run.