class_docstr: **Bases:** :class:`UIGraphicsItem <pyqtgraph.UIGraphicsItem>`
  
  Draws a set of tick marks which always occupy the same vertical range of the view,
  but have x coordinates relative to the data within the view.
class_docstr_tok: ["*","*","Bases",":","*","*",":","class",":","`","UIGraphicsItem","<","pyqtgraph.UIGraphicsItem",">","`","Draws","a","set","of","tick","marks","which","always","occupy","the","same","vertical","range","of","the","view",",","but","have","x","coordinates","relative","to","the","data","within","the","view","."]
docstr: ==============  ===================================================================
  **Arguments:**
  xvals           A list of x values (in data coordinates) at which to draw ticks.
  yrange          A list of [low, high] limits for the tick. 0 is the bottom of
                  the view, 1 is the top. [0.8, 1] would draw ticks in the top
                  fifth of the view.
  pen             The pen to use for drawing ticks. Default is grey. Can be specified
                  as any argument valid for :func:`mkPen<pyqtgraph.mkPen>`
  ==============  ===================================================================
docstr_tok: ["==============","===================================================================","*","*","Arguments",":","*","*","xvals","A","list","of","x","values","(","in","data","coordinates",")","at","which","to","draw","ticks",".","yrange","A","list","of","[","low",",","high","]","limits","for","the","tick",".","0","is","the","bottom","of","the","view",",","1","is","the","top",".","[","0.8",",","1","]","would","draw","ticks","in","the","top","fifth","of","the","view",".","pen","The","pen","to","use","for","drawing","ticks",".","Default","is","grey",".","Can","be","specified","as","any","argument","valid","for",":","func",":","`","mkPen","<","pyqtgraph.mkPen",">","`","==============","==================================================================="]
code: def __init__(self, xvals=None, yrange=None, pen=None):
      """
      ==============  ===================================================================
      **Arguments:**
      xvals           A list of x values (in data coordinates) at which to draw ticks.
      yrange          A list of [low, high] limits for the tick. 0 is the bottom of
                      the view, 1 is the top. [0.8, 1] would draw ticks in the top
                      fifth of the view.
      pen             The pen to use for drawing ticks. Default is grey. Can be specified
                      as any argument valid for :func:`mkPen<pyqtgraph.mkPen>`
      ==============  ===================================================================
      """
      if yrange is None:
          yrange = [0, 1]
      if xvals is None:
          xvals = []
  
      UIGraphicsItem.__init__(self)
  
      if pen is None:
          pen = (200, 200, 200)
  
      self.path = QtWidgets.QGraphicsPathItem()
  
      self.ticks = []
      self.xvals = []
      self.yrange = [0, 1]
      self.setPen(pen)
      self.setYRange(yrange)
      self.setXVals(xvals)
  
file_path: pyqtgraph/pyqtgraph/graphicsItems/VTickGroup.py
imports: from ..None import functions
  from ..Qt import QtGui, QtWidgets
  from .UIGraphicsItem import UIGraphicsItem
label_desc: Use image node_id 1 to create a new VTickGroup object from inherited base classes: UIGraphicsItem with example: obj = VTickGroup(xvals, yrange, pen)