code: def create_plot():
      fig = plt.figure()
      fig.subplots_adjust(hspace=0.4, wspace=0.4)
  
      ax1 = fig.add_subplot(2, 2, 1)
      ax2 = fig.add_subplot(2, 2, 2, sharey=ax1, xscale="log")
      ax3 = fig.add_subplot(2, 2, 3, sharex=ax1, yscale="log")
      ax4 = fig.add_subplot(2, 2, 4, sharex=ax2, sharey=ax3)
  
      x = np.linspace(1, 1e2)
      y = x**2
  
      for ax in [ax1, ax2, ax3, ax4]:
          ax.plot(x, y)
  
      return fig
  
imports: import matplotlib.pyplot
  import numpy
  import mpld3
label_desc: Use image node_id 1 for calling a global function with example usage: create_plot() and returns: fig