tonybaloney / wily

A Python application for tracking, reporting on timing and complexity in Python code
Apache License 2.0
1.21k stars 59 forks source link

Restore displaying graph markers #215

Closed devdanzin closed 1 year ago

devdanzin commented 1 year ago

When #205 landed, we stopped setting z_axis to None, but still test it against being None. This causes the sizeof marker to be an empty list instead of zero, hiding graph markers. This tiny PR fixes that.

Before: marker_before

After: marker_after

codecov-commenter commented 1 year ago

Codecov Report

Merging #215 (ba62ad6) into master (b342a1c) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #215   +/-   ##
=======================================
  Coverage   95.83%   95.83%           
=======================================
  Files          25       25           
  Lines        1346     1346           
  Branches      287      287           
=======================================
  Hits         1290     1290           
  Misses         32       32           
  Partials       24       24           
Files Changed Coverage Δ
src/wily/commands/graph.py 100.00% <ø> (ø)
tonybaloney commented 1 year ago

thanks!