Files
littlefs/scripts
Christopher Haster 6998a10088 scripts: plot[mpl].py: Prioritize subplot subplots before plot subplots
A small tweak, but this resolves some confusing interactions between
subplot subplots and regular subplots.

Consider:

  ./scripts/plot.py test.csv -xx \
      --subplot=" \
          -ya \
          --subplot-below=\" \
              -yab\"" \
      --subplot-right=" \
          -yb \
          --subplot-below=\" \
              -ybb\""

You would normally expect -yab and -ybb to end up side-by-side. But
because regular subplots were parsed fully before subplot subplots, -yab
confusingly ended up beneath the sum of -ya + (-yb + -ybb).

The small tweak of prioritizing subplot subplots fixes this, and
results in the expected 2x2 grid of plots.
2026-03-09 22:56:59 -05:00
..
2025-04-16 15:23:06 -05:00