How to log scale in seaborn

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_joint ax.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 … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)