code: def test_scale_breaks_dict():
      spec = gg.scale_x_discrete(breaks=dict(A="a", B="b", C="c"))
      as_dict = spec.as_dict()
      assert as_dict["breaks"] == ["a", "b", "c"]
      assert as_dict["labels"] == ["A", "B", "C"]
  
imports: import pytest
  import lets_plot
  from lets_plot.plot.core import FeatureSpec
  from lets_plot.plot.core import FeatureSpecArray
  from lets_plot.plot.scale import _scale
label_desc: Use image node_id 11 for calling a global function with example usage: test_scale_breaks_dict() without return types