Skip to content

Commit

Permalink
Fix - do not force style 8 for hist markers
Browse files Browse the repository at this point in the history
Now style 8 much bigger than 1, therefore drawing looks very ugly
  • Loading branch information
linev committed Oct 7, 2024
1 parent 7467186 commit 0b52893
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions modules/hist2d/TH1Painter.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -566,9 +566,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 = '';
Expand Down

0 comments on commit 0b52893

Please sign in to comment.