[pyqtgraph] Re: linearregionitems in log plots are returning unexpected values

2018-03-09 Thread Guillaume William Bres
I face the same problem all the time because I also work with logarithmically spaced frequency axis but we can easily work around it by testing whether log(x) is being used or not: log_state = my_plot.plotItem.ctrl.logXCheck.isChecked() [x,y] = my_curve.getData() if (log_state): x =

[pyqtgraph] Re: linearregionitems in log plots are returning unexpected values

2018-03-09 Thread Jeremy Webster
yes, and similar for the set methods perhaps in the next release, this will behave as expected. On Friday, March 9, 2018 at 1:58:24 AM UTC-7, Guillaume William Bres wrote: > > I face the same problem all the time because I also work with > logarithmically spaced frequency axis > > but we can