[open] LineWidth incorrect?
If I use 'psychopy' DISPTYPE and perform something like
tscr.draw_line(BGC,spos=(0,503),epos=(constants.DISPSIZE,503),pw=1) tscr.draw_rect(colour=FGC, x=0, y=600, w=constants.DISPSIZE, h=1, pw=1, fill=True)
the draw_line produces a 2 pixels wide line whereas the draw_rect produces the desired 1 pixel wide straight line.
If I use 'pygame' I get the correct 1 pixel wide straight line, but at the end the program crashes with
Fatal Python error: (pygame parachute) Segmentation Fault
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
As I am using a simple GUI built with guidata, this crash is not acceptable, so I am forced to use psychopy, but this should work correctly.
Any idea of how to deal with this?