code: def test_annotation_logticks_faceting():
      n = len(data)
      data2 = pd.DataFrame(
          {
              "x": np.hstack([data["x"], data["x"]]),
              "g": list("a" * n + "b" * n),
          }
      )
      p = (
          ggplot(data2)
          + annotation_logticks(sides="b", size=0.75)
          + geom_point(aes("x", "x"))
          + scale_x_log10()
          + scale_y_log10()
          + facet_wrap("g")
          + theme(
              panel_grid_minor=element_line(color="green"),
              panel_grid_major=element_line(color="red"),
          )
      )
  
      assert p == "annotation_logticks_faceting"
  
file_path: plotnine/tests/test_annotation_logticks.py
imports: import numpy
  import pandas
  import pytest
  from mizani.transforms import label_log, log_trans
  from plotnine import aes, annotation_logticks, coord_flip, element_line, facet_wrap, geom_point, ggplot, scale_x_continuous, scale_x_log10, scale_y_log10, theme
  from plotnine.exceptions import PlotnineWarning
label_desc: Use image node_id 2 for calling a global function with example usage: test_annotation_logticks_faceting() without return types