My first python question, though.
Consider me working in jupyter notebook with seaborn. Suppose I've created a plot and saved it to a variable:
g = sns.jointplot(ap['ap_lo'], ap['ap_hi']);
It will be displayed once, because I addeed %matplotlib inline
at the beginning.
Now, after few changes, I want to display g
again:
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')
sns.plt.show()
As you can see, I call sns.plt.show()
, but it has no effect. I've also tried to put g;
or g; sns.plt.show()
at the end.