class_docstr: !
  @brief Visualizer of CLIQUE algorithm's results.
  @details CLIQUE visualizer provides visualization services that are specific for CLIQUE algorithm, for example,
            to display grid and its density.
class_docstr_tok: ["!","@","brief","Visualizer","of","CLIQUE","algorithm","'s","results",".","@","details","CLIQUE","visualizer","provides","visualization","services","that","are","specific","for","CLIQUE","algorithm",",","for","example",",","to","display","grid","and","its","density","."]
docstr: !
  @brief Display data in two-dimensional canvas.
  
  @param[in] ax (Axis): Canvas where data should be displayed.
  @param[in] data (list): Data points that should be displayed.
  @param[in] pair (tuple): Pair of dimension indexes.
docstr_tok: ["!","@","brief","Display","data","in","two-dimensional","canvas",".","@","param","[","in","]","ax","(","Axis",")",":","Canvas","where","data","should","be","displayed",".","@","param","[","in","]","data","(","list",")",":","Data","points","that","should","be","displayed",".","@","param","[","in","]","pair","(","tuple",")",":","Pair","of","dimension","indexes","."]
code: def __draw_two_dimension_data(ax, data, pair):
      """!
      @brief Display data in two-dimensional canvas.
  
      @param[in] ax (Axis): Canvas where data should be displayed.
      @param[in] data (list): Data points that should be displayed.
      @param[in] pair (tuple): Pair of dimension indexes.
  
      """
      ax.set_xlabel("x%d" % pair[0])
      ax.set_ylabel("x%d" % pair[1])
  
      for point in data:
          if len(data[0]) > 1:
              ax.plot(
                  point[pair[0]],
                  point[pair[1]],
                  color="red",
                  marker=".",
              )
          else:
              ax.plot(point[pair[0]], 0, color="red", marker=".")
              ax.yaxis.set_ticklabels([])
  
imports: import itertools
  from pyclustering.cluster import cluster_visualizer
  from pyclustering.cluster.encoder import type_encoding
  from pyclustering.core.wrapper import ccore_library
  import pyclustering.core.clique_wrapper
  import matplotlib
  import matplotlib.gridspec
  import matplotlib.pyplot
  import matplotlib.patches
label_desc: Use image node_id 3 for calling the clique_visualizer obj's underlying member method code with example usage: obj.__draw_two_dimension_data(ax, data, pair) without return types