Skip to content
Snippets Groups Projects
Commit c2162ad7 authored by Benjamin Jakimow's avatar Benjamin Jakimow
Browse files

fixed issue #64 "Plot Style Line Size (1pt already huge)". Solution...

fixed issue #64 "Plot Style Line Size (1pt already huge)". Solution wasQPen::setCosmetic(True) for using scale-independent line-width
parent 66a44284
No related branches found
No related tags found
No related merge requests found
......@@ -76,13 +76,16 @@ class PlotStyle(QObject):
self.backgroundColor = Qt.black
self.markerPen = QPen()
self.markerPen.setCosmetic(True)
self.markerPen.setStyle(Qt.NoPen)
self.markerPen.setColor(Qt.white)
self.markerPen.setWidthF(0)
self.linePen = QPen()
self.linePen.setCosmetic(True)
self.linePen.setStyle(Qt.NoPen)
self.linePen.setWidth(0)
self.linePen.setWidthF(0)
self.linePen.setColor(QColor(74, 75, 75))
self.mIsVisible = True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment