class_docstr: Infinite horizontal or vertical line for 2D plots.
  
  Parameters
  ----------
  pos : float
      Position of the line along the axis.
  color : list, tuple, or array
      The color to use when drawing the line. If an array is given, it
      must be of shape (1, 4) and provide one rgba color per vertex.
  line_width: float
      The width of the Infinite line, in pixels
  antialias: bool
      If the line is drawn with antialiasing
  vertical:
      True for drawing a vertical line, False for an horizontal line
class_docstr_tok: ["Infinite","horizontal","or","vertical","line","for","2D","plots",".","Parameters","--","--","--","--","--","pos",":","float","Position","of","the","line","along","the","axis",".","color",":","list",",","tuple",",","or","array","The","color","to","use","when","drawing","the","line",".","If","an","array","is","given",",","it","must","be","of","shape","(","1",",","4",")","and","provide","one","rgba","color","per","vertex",".","line_width",":","float","The","width","of","the","Infinite","line",",","in","pixels","antialias",":","bool","If","the","line","is","drawn","with","antialiasing","vertical",":","True","for","drawing","a","vertical","line",",","False","for","an","horizontal","line"]
code: def antialias(self, val: float):
      self._antialias = val
  
file_path: vispy/vispy/visuals/infinite_line.py
imports: import numpy
  from ..None import gloo
  from .visual import Visual
label_desc: Use image node_id 8 for calling the InfiniteLineVisual obj's underlying member method code with example usage: obj.antialias(val) without return types