Tried pip installing the package, fails for f-strings · Issue #3 · moss-xyz/matplotlib-map-utils (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

@jowa-ea

Description

@jowa-ea

Hey,

I renctly tried to !pip install the package, which fails because of some f-strings not being set up properly.
Example in core/scale_bar.py on line 752:

warnings.warn(f"Provided bar length ({bar["length"]}) is greater than the axis length ({ax_dim}); setting bar length to default (25% of axis length).")
should probably be
warnings.warn(f"Provided bar length ({bar['length']}) is greater than the axis length ({ax_dim}); setting bar length to default (25% of axis length).")

Cheers,
jowa_ea