#!/usr/bin/env python3 import re, sys from matplotlib.pyplot import * from dataclasses import dataclass @dataclass class Block: height: int ranges: int time: int transactions: int pat = re.compile( '''Block (?P[0-9]+) at.*with (?P[0-9]+) transactions.* .*Wrote (?P[0-9]+) sat ranges from .* outputs in (?P