diff --git a/docs/crosssectionalcharts.jl b/docs/crosssectionalcharts.jl index 2adbb39..17a0750 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 539cda7..d49eea2 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 0a503ad..84c6f21 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 5149a87..4512d82 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`