Skip to content

[plot] fix update_font_sizes

Florian Zill requested to merge FZill/ogstools:fix_font_sizes into main

Purpose

Fixes #66 (closed)

Used the opportunity to use some pattern matching instead of if...else blocks. Sadly realized mypy not yet supports type narrowing with pattern matching link Thus, if we want to make use of this, we may need to type narrow manually with assertions

Edited by Florian Zill

Merge request reports

Loading