Skip to content

Commit

Permalink
add comment to clarify minus sign (#3398)
Browse files Browse the repository at this point in the history
Just adds a comment to clarify that `MINUS = "−"` is the same as U+2212
  • Loading branch information
SimonDanisch authored Nov 22, 2023
2 parents 7c76253 + 852615b commit b6ee71a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/makielayout/lineaxis.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# the hyphen which is usually used to store negative number strings
# is shorter than the dedicated minus in most fonts, the minus glyph
# looks more balanced with numbers, especially in superscripts or subscripts
const MINUS_SIGN = ""
const MINUS_SIGN = "" # == "\u2212" (Unicode minus)

function LineAxis(parent::Scene; @nospecialize(kwargs...))
attrs = merge!(Attributes(kwargs), generic_plot_attributes(LineAxis))
Expand Down

0 comments on commit b6ee71a

Please sign in to comment.