Skip to content

Commit

Permalink
Nicer way of formatting
Browse files Browse the repository at this point in the history
Co-authored-by: Victorien <[email protected]>
  • Loading branch information
JasonGrace2282 and Viicos authored Jun 5, 2024
1 parent 46552dc commit 48013f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manim/mobject/graphing/scale.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def get_custom_labels(
tex_labels = [
Integer(
self.base,
unit="^{%s}" % (f"{self.inverse_function(i):.{unit_decimal_places}f}"), # noqa: UP031
unit="^{:.{prec}f}".format(self.inverse_function(i), prec=unit_decimal_places)
**base_config,
)
for i in val_range
Expand Down

0 comments on commit 48013f4

Please sign in to comment.