From 7146bf60ae0926676b21d5a3c259bcf12a6cd7fb Mon Sep 17 00:00:00 2001 From: spaette Date: Thu, 22 May 2025 13:43:32 -0500 Subject: [PATCH] typos --- docs/crosssectionalcharts.jl | 2 +- src/conversions.jl | 2 +- src/names_data.jl | 2 +- src/utilities.jl | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/crosssectionalcharts.jl b/docs/crosssectionalcharts.jl index 2adbb39e..17a0750e 100644 --- a/docs/crosssectionalcharts.jl +++ b/docs/crosssectionalcharts.jl @@ -9,7 +9,7 @@ struct CrossSectionalChartSVG <: Main.SVG end struct Axis - index::Int # compornent index + index::Int # component index label::String range::AbstractRange end diff --git a/src/conversions.jl b/src/conversions.jl index 539cda71..d49eea24 100644 --- a/src/conversions.jl +++ b/src/conversions.jl @@ -25,7 +25,7 @@ The original motivation for this arrangement was that Julia "did not" support convert(::Type{C{T}}, c) where {C, T} ``` On Julia v0.6 or later, parameter constraints can refer to previous parameters. -Threfore, we can use: +Therefore, we can use: ``` convert(::Type{C}, c) where {T, C <: Colorant{T}} ``` diff --git a/src/names_data.jl b/src/names_data.jl index 0a503ad6..84c6f21a 100644 --- a/src/names_data.jl +++ b/src/names_data.jl @@ -1,4 +1,4 @@ -# This is the union of every color defined in X11 and in SVG, prefering the SVG +# This is the union of every color defined in X11 and in SVG, preferring the SVG # definition when they clash. # You can find the color swatches in: # http://juliagraphics.github.io/Colors.jl/dev/namedcolors/ diff --git a/src/utilities.jl b/src/utilities.jl index 5149a87e..4512d82e 100644 --- a/src/utilities.jl +++ b/src/utilities.jl @@ -267,7 +267,7 @@ Convert a color to a hexadecimal string, optionally specifying its style. # Arguments - `c`: a target color. -- `style`: a symbol to specify the hexadecimal notation. Spesifying the +- `style`: a symbol to specify the hexadecimal notation. Specifying the uppercase symbols means the return values are in uppercase. The following symbols are available: - `:AUTO`: notation automatically selected according to the type of `c`