title: log-log plot with seaborn jointgrid
body: <p>I'm trying to create a loglog plot with a KDE and histogram associated with each axis using a seaborn JointGrid object. This gets me pretty close, but the histogram bins do not translate well into logspace. Is there a way to do this easily without having to recreate the marginal axes? </p>
  
  <pre><code>import seaborn as sns
  import matplotlib.pyplot as plt
  import numpy as np
  
  data = sns.load_dataset('tips')
  g = sns.JointGrid('total_bill', 'tip', data)
  g.plot_marginals(sns.distplot, hist=True, kde=True, color='blue')
  g.plot_joint(plt.scatter, color='black', edgecolor='black')
  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')
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/crYVh.png" alt="Output of plot"></p>