I get the following error while zooming in and out of a graph:

Traceback (most recent call last):
  File 
"/usr/local/lib/python3.9/site-packages/pyqtgraph/graphicsItems/AxisItem.py", 
line 570, in linkedViewChanged
    self.setRange(*newRange)
  File 
"/usr/local/lib/python3.9/site-packages/pyqtgraph/graphicsItems/AxisItem.py", 
line 521, in setRange
    self.updateAutoSIPrefix()
  File 
"/usr/local/lib/python3.9/site-packages/pyqtgraph/graphicsItems/AxisItem.py", 
line 511, in updateAutoSIPrefix
    self._updateLabel()
  File 
"/usr/local/lib/python3.9/site-packages/pyqtgraph/graphicsItems/AxisItem.py", 
line 304, in _updateLabel
    self._adjustSize()
  File 
"/usr/local/lib/python3.9/site-packages/pyqtgraph/graphicsItems/AxisItem.py", 
line 352, in _adjustSize
    self._updateWidth()
  File 
"/usr/local/lib/python3.9/site-packages/pyqtgraph/graphicsItems/AxisItem.py", 
line 408, in _updateWidth
    w += max(0, self.style['tickLength'])
RecursionError: maximum recursion depth exceeded in comparison
Fatal Python error: _Py_CheckRecursiveCall: Cannot recover from stack 
overflow.
Python runtime state: initialized

Current thread 0x000000010a5e4600 (most recent call first):
  File 
"/usr/local/lib/python3.9/site-packages/pyqtgraph/graphicsItems/ViewBox/ViewBox.py",
 
line 832 in enableAutoRange
  File 
"/usr/local/lib/python3.9/site-packages/pyqtgraph/graphicsItems/ViewBox/ViewBox.py",
 
line 801 in enableAutoRange
  File 
"/usr/local/lib/python3.9/site-packages/pyqtgraph/graphicsItems/ViewBox/ViewBox.py",
 
line 540 in setRange
  File 
"/usr/local/lib/python3.9/site-packages/pyqtgraph/graphicsItems/ViewBox/ViewBox.py",
 
line 639 in setYRange
  File 
"/usr/local/lib/python3.9/site-packages/pyqtgraph/graphicsItems/PlotItem/PlotItem.py",
 
line 282 in method
  File "/graphhelper.py", line 91 in set_y_axis_for_plot_data
  File "/pygraph/bar/graphdetail.py", line 24 in update_region
  File 
"/usr/local/lib/python3.9/site-packages/pyqtgraph/graphicsItems/ViewBox/ViewBox.py",
 
line 1578 in updateViewRange
  File 
"/usr/local/lib/python3.9/site-packages/pyqtgraph/graphicsItems/ViewBox/ViewBox.py",
 
line 616 in setRange
  File 
"/usr/local/lib/python3.9/site-packages/pyqtgraph/graphicsItems/ViewBox/ViewBox.py",
 
line 639 in setYRange
  File 
"/usr/local/lib/python3.9/site-packages/pyqtgraph/graphicsItems/PlotItem/PlotItem.py",
 
line 282 in method
  File "/graphhelper.py", line 91 in set_y_axis_for_plot_data
  File "/pygraph/bar/graphdetail.py", line 24 in update_region
  File 
"/usr/local/lib/python3.9/site-packages/pyqtgraph/graphicsItems/ViewBox/ViewBox.py",
 
line 1578 in updateViewRange
  File 
"/usr/local/lib/python3.9/site-packages/pyqtgraph/graphicsItems/ViewBox/ViewBox.py",
 
line 616 in setRange
  File 
"/usr/local/lib/python3.9/site-packages/pyqtgraph/graphicsItems/ViewBox/ViewBox.py",
 
line 639 in setYRange
  File 
"/usr/local/lib/python3.9/site-packages/pyqtgraph/graphicsItems/PlotItem/PlotItem.py",
 
line 282 in method
  File "/graphhelper.py", line 91 in set_y_axis_for_plot_data
  File "/pygraph/bar/graphdetail.py", line 24 in update_region
  File 
"/usr/local/lib/python3.9/site-packages/pyqtgraph/graphicsItems/ViewBox/ViewBox.py",
 
line 1578 in updateViewRange
  File 
"/usr/local/lib/python3.9/site-packages/pyqtgraph/graphicsItems/ViewBox/ViewBox.py",
 
line 616 in setRange
  File 
"/usr/local/lib/python3.9/site-packages/pyqtgraph/graphicsItems/ViewBox/ViewBox.py",
 
line 639 in setYRange
  File 
"/usr/local/lib/python3.9/site-packages/pyqtgraph/graphicsItems/PlotItem/PlotItem.py",
 
line 282 in method
  File "/graphhelper.py", line 91 in set_y_axis_for_plot_data
  File "/pygraph/bar/graphdetail.py", line 24 in update_region
  File 
"/usr/local/lib/python3.9/site-packages/pyqtgraph/graphicsItems/ViewBox/ViewBox.py",
 
line 1578 in updateViewRange
  File 
"/usr/local/lib/python3.9/site-packages/pyqtgraph/graphicsItems/ViewBox/ViewBox.py",
 
line 616 in setRange
  File 
"/usr/local/lib/python3.9/site-packages/pyqtgraph/graphicsItems/ViewBox/ViewBox.py",
 
line 639 in setYRange
  File 
"/usr/local/lib/python3.9/site-packages/pyqtgraph/graphicsItems/PlotItem/PlotItem.py",
 
line 282 in method
  File "/graphhelper.py", line 91 in set_y_axis_for_plot_data
  File "/pygraph/bar/graphdetail.py", line 24 in update_region
  File 
"/usr/local/lib/python3.9/site-packages/pyqtgraph/graphicsItems/ViewBox/ViewBox.py",
 
line 1578 in updateViewRange
  File 
"/usr/local/lib/python3.9/site-packages/pyqtgraph/graphicsItems/ViewBox/ViewBox.py",
 
line 616 in setRange
  File 
"/usr/local/lib/python3.9/site-packages/pyqtgraph/graphicsItems/ViewBox/ViewBox.py",
 
line 639 in setYRange
  File 
"/usr/local/lib/python3.9/site-packages/pyqtgraph/graphicsItems/PlotItem/PlotItem.py",
 
line 282 in method
  File "/graphhelper.py", line 91 in set_y_axis_for_plot_data
  File "/pygraph/bar/graphdetail.py", line 24 in update_region

-- 
You received this message because you are subscribed to the Google Groups 
"pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyqtgraph/8a4c74ad-2efa-4b0e-b8d2-f730187930bbn%40googlegroups.com.

Reply via email to