plot-stem/src/jvmTest/kotlin/org/jetbrains/letsPlot/core/spec/config/AsDiscreteTest.kt [638:666]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            |  },
            |  "kind": "plot",
            |  "layers": [
            |    {
            |      "geom": "point",
            |      "mapping": {
            |        "color": "cyl"
            |      },
            |      "data_meta": {
            |        "mapping_annotations": [
            |          {
            |            "aes": "color",
            |            "annotation": "as_discrete",
            |            "parameters": {
            |               "label": "clndr"
            |            }
            |          }
            |        ]
            |      }
            |    }
            |  ]
            |}""".trimMargin()

        transformToClientPlotConfig(spec)
            .assertScale(Aes.COLOR, isDiscrete = true, name = "clndr")
            .assertVariable("color.cyl", isDiscrete = true)
    }

    @Test
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



plot-stem/src/jvmTest/kotlin/org/jetbrains/letsPlot/core/spec/config/AsDiscreteTest.kt [686:715]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            |  },
            |  "kind": "plot",
            |  "layers": [
            |    {
            |      "geom": "point",
            |      "mapping": {
            |        "color": "cyl"
            |      },
            |      "data_meta": {
            |        "mapping_annotations": [
            |          {
            |            "aes": "color",
            |            "annotation": "as_discrete",
            |            "parameters": {
            |               "label": "clndr"
            |            }
            |          }
            |        ]
            |      }
            |    }
            |  ]
            |}""".trimMargin()

        transformToClientPlotConfig(spec)
            .assertScale(Aes.COLOR, isDiscrete = true, name = "clndr")
            .assertVariable("color.cyl", isDiscrete = true)
    }


    @Test
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



