This commit is contained in:
@@ -102,7 +102,7 @@ configurations are rejected before plots are written.
|
||||
|
||||
Charts use the pastel palette and the Raptor name by default.
|
||||
Use `--no-colors` for grayscale output; `--colors` explicitly enables colors.
|
||||
Use `--anonymize` to replace displayed `Raptor` labels with `Anonimized`;
|
||||
Use `--anonymize` to replace displayed `Raptor` labels with `ANON`;
|
||||
`--no-anonymize` explicitly keeps the Raptor name. The flags are independent.
|
||||
Use `--no-marker-borders` for solid markers without outlines in the compact dot
|
||||
plot and line chart, including their legends. These markers use the darker
|
||||
|
||||
@@ -657,7 +657,7 @@ def main() -> None:
|
||||
parser.add_argument("--colors", action=argparse.BooleanOptionalAction, default=True,
|
||||
help="Use the pastel palette (default); --no-colors exports grayscale charts")
|
||||
parser.add_argument("--anonymize", action=argparse.BooleanOptionalAction, default=False,
|
||||
help="Replace the displayed Raptor name with Anonimized")
|
||||
help="Replace the displayed Raptor name with ANON")
|
||||
parser.add_argument("--marker-borders", action=argparse.BooleanOptionalAction, default=True,
|
||||
help="Outline markers (default); --no-marker-borders uses solid markers in dot and line charts")
|
||||
args = parser.parse_args()
|
||||
|
||||
@@ -109,7 +109,7 @@ class CenteredHatch(AbstractPathEffect):
|
||||
def configure_style(*, colors: bool = True, anonymize: bool = False) -> None:
|
||||
global _USE_COLORS
|
||||
_USE_COLORS = colors
|
||||
COMPILER_NAMES["raptor"] = "Anonimized" if anonymize else "Raptor"
|
||||
COMPILER_NAMES["raptor"] = "ANON" if anonymize else "Raptor"
|
||||
plt.rcParams.update({
|
||||
"font.family": "DejaVu Sans",
|
||||
"axes.spines.top": False,
|
||||
|
||||
Reference in New Issue
Block a user