code: def test_log_scatter():
      """Issue #1799"""
      fig, ax = plt.subplots(1)
  
      x = np.arange(10)
      y = np.arange(10) - 1
  
      ax.scatter(x, y)
  
      buf = io.BytesIO()
      fig.savefig(buf, format="pdf")
  
      buf = io.BytesIO()
      fig.savefig(buf, format="eps")
  
      buf = io.BytesIO()
      fig.savefig(buf, format="svg")
  
imports: import copy
  import matplotlib.pyplot
  from matplotlib.scale import AsinhScale, AsinhTransform, LogTransform, InvertedLogTransform, SymmetricalLogTransform
  import matplotlib.scale
  from matplotlib.ticker import AsinhLocator, LogFormatterSciNotation
  from matplotlib.testing.decorators import check_figures_equal, image_comparison
  import numpy
  from numpy.testing import assert_allclose
  import io
  import pytest
label_desc: Use image node_id 4 for calling a global function with example usage: test_log_scatter() without return types