From bd4c7a6695c04cd234c6a5471a8af7dbf6b40f84 Mon Sep 17 00:00:00 2001 From: Sergey Linev Date: Mon, 7 Oct 2024 16:49:38 +0200 Subject: [PATCH] Fix - do not force style 8 for hist markers Now style 8 much bigger than 1, therefore drawing looks very ugly --- modules/hist2d/TH1Painter.mjs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/hist2d/TH1Painter.mjs b/modules/hist2d/TH1Painter.mjs index 019da1ec4..e3efbedb7 100644 --- a/modules/hist2d/TH1Painter.mjs +++ b/modules/hist2d/TH1Painter.mjs @@ -534,9 +534,7 @@ class TH1Painter extends THistPainter { if (show_markers) { // draw markers also when e2 option was specified - let style = this.options.MarkStyle; - if (!style && (histo.fMarkerStyle === 1)) style = 8; // as in recent ROOT changes - this.createAttMarker({ attr: histo, style }); // when style not configured, it will be ignored + this.createAttMarker({ attr: histo, style: this.options.MarkStyle }); // when style not configured, it will be ignored if (this.markeratt.size > 0) { // simply use relative move from point, can optimize in the future path_marker = '';