fix for drawing new linregress
Merge branch 'feature/linregress' into is24-master

* feature/linregress:
  fix for drawing new linregress