class_docstr: Class for drawing in ASCII.
  
  Args:
      cols (int): number of columns in the canvas. Should be > 1.
      lines (int): number of lines in the canvas. Should be > 1.
class_docstr_tok: ["Class","for","drawing","in","ASCII",".","Args",":","cols","(","int",")",":","number","of","columns","in","the","canvas",".","Should","be",">","1.","lines","(","int",")",":","number","of","lines","in","the","canvas",".","Should","be",">","1","."]
docstr: Create a point on ASCII canvas.
  
  Args:
      x (int): x coordinate. Should be >= 0 and < number of columns in
          the canvas.
      y (int): y coordinate. Should be >= 0 an < number of lines in the
          canvas.
      char (str): character to place in the specified point on the
          canvas.
docstr_tok: ["Create","a","point","on","ASCII","canvas",".","Args",":","x","(","int",")",":","x","coordinate",".","Should","be",">","=","0","and","<","number","of","columns","in","the","canvas",".","y","(","int",")",":","y","coordinate",".","Should","be",">","=","0","an","<","number","of","lines","in","the","canvas",".","char","(","str",")",":","character","to","place","in","the","specified","point","on","the","canvas","."]
code: def point(self, x, y, char):
      """Create a point on ASCII canvas.
  
      Args:
          x (int): x coordinate. Should be >= 0 and < number of columns in
              the canvas.
          y (int): y coordinate. Should be >= 0 an < number of lines in the
              canvas.
          char (str): character to place in the specified point on the
              canvas.
      """
      assert len(char) == 1
      assert x >= 0
      assert x < self.cols
      assert y >= 0
      assert y < self.lines
  
      self.canvas[y][x] = char
  
file_path: dvc/dvc/dagascii.py
imports: import math
  import os
  from grandalf.graphs import Edge, Graph, Vertex
  from grandalf.layouts import SugiyamaLayout
  from grandalf.routing import EdgeViewer, route_with_lines
  from dvc.log import logger
label_desc: Use image node_id 3 for calling the AsciiCanvas obj's underlying member method code with example usage: obj.point(x, y, char) without return types