From fbf1a2fe1892a841991c3cc0bcb4a7dcf15f497b Mon Sep 17 00:00:00 2001 From: rafael Date: Thu, 1 Oct 2020 12:57:04 +0200 Subject: [PATCH] ScatterPlotItem: Make + and x symbols thicker This is something we're overriding in Orange3 (biolab/orange3#5007), as we change the symbols' alpha_value to show selected symbols. The default + and x symbols are too thin to show a noticeable change in alpha_value. But I thought you might agree that the symbols look nicer this way. --- pyqtgraph/graphicsItems/ScatterPlotItem.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyqtgraph/graphicsItems/ScatterPlotItem.py b/pyqtgraph/graphicsItems/ScatterPlotItem.py index 63dc61cb..1726f652 100644 --- a/pyqtgraph/graphicsItems/ScatterPlotItem.py +++ b/pyqtgraph/graphicsItems/ScatterPlotItem.py @@ -33,9 +33,9 @@ coords = { 't3': [(0.5, 0.5), (0.5, -0.5), (-0.5, 0)], 'd': [(0., -0.5), (-0.4, 0.), (0, 0.5), (0.4, 0)], '+': [ - (-0.5, -0.05), (-0.5, 0.05), (-0.05, 0.05), (-0.05, 0.5), - (0.05, 0.5), (0.05, 0.05), (0.5, 0.05), (0.5, -0.05), - (0.05, -0.05), (0.05, -0.5), (-0.05, -0.5), (-0.05, -0.05) + (-0.5, -0.1), (-0.5, 0.1), (-0.1, 0.1), (-0.1, 0.5), + (0.1, 0.5), (0.1, 0.1), (0.5, 0.1), (0.5, -0.1), + (0.1, -0.1), (0.1, -0.5), (-0.1, -0.5), (-0.1, -0.1) ], 'p': [(0, -0.5), (-0.4755, -0.1545), (-0.2939, 0.4045), (0.2939, 0.4045), (0.4755, -0.1545)],