Skip to content

Commit 8a854fc

Browse files
authored
fix a few typos - test julia 1.10 (#363)
1 parent bd10d07 commit 8a854fc

File tree

3 files changed

+13
-8
lines changed

3 files changed

+13
-8
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
version:
2020
- '1.6' # latest LTS
2121
- '1'
22-
- 'nightly'
22+
- '~1.10.0-0' # upcoming julia version, next `rc`
2323
os: [ubuntu-latest]
2424
arch: [x64]
2525
include: # spare windows/macos CI credits
@@ -29,6 +29,11 @@ jobs:
2929
- os: macOS-latest
3030
version: '1'
3131
arch: x64
32+
- os: ubuntu-latest
33+
version: 'nightly'
34+
arch: x64
35+
allow_failure: true # `nightly` often breaks
36+
3237
steps:
3338
- uses: actions/checkout@v3
3439
- uses: julia-actions/setup-julia@latest

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ Here is a list of the main high-level functions for common scenarios:
365365

366366

367367
Use `lines=true` to increase the density (underlying call to `lineplot` instead of `scatterplot`, with color interpolation).
368-
By default, `surfaceplot` scales heights to adjust aspect the other axes with `zscale=:aspect`.
368+
By default, `surfaceplot` scales heights to adjust aspect wrt the remaining axes with `zscale=:aspect`.
369369
To plot a slice in 3D, use an anonymous function which maps to a constant value: `zscale=z -> a_constant`:
370370

371371
```julia
@@ -452,7 +452,7 @@ julia> Pkg.add("UnicodePlots")
452452

453453
`UnicodePlots` is integrated in [`Plots`](https://github.com/JuliaPlots/Plots.jl) as a backend, with support for [basic layout](https://docs.juliaplots.org/stable/gallery/unicodeplots/generated/unicodeplots-ref17).
454454

455-
For a more complex layout, use the `gridplot` function (requires loading [`Term`](https://github.com/FedeClaudi/Term.jl)).
455+
For a more complex layout, use the `gridplot` function (requires loading [`Term`](https://github.com/FedeClaudi/Term.jl) as extension).
456456
```julia
457457
using UnicodePlots, Term
458458

@@ -687,7 +687,7 @@ The method `label!` is responsible for the setting all the textual decorations o
687687
These two canvas utilizes only standard `ASCII` character for drawing. Naturally, it doesn't look quite as nice as the Unicode-based ones. However, in some situations it might yield better results. Printing plots to a file is one of those situations.
688688

689689
- **DensityCanvas**:
690-
Unlike the `BrailleCanvas`, the density canvas does not simply mark a "pixel" as set. Instead it increments a counter per character that keeps track of the frequency of pixels drawn in that character. Together with a variable that keeps track of the maximum frequency, the canvas can thus draw the density of datapoints.
690+
Unlike the `BrailleCanvas`, the density canvas does not simply mark a "pixel" as set. Instead it increments a counter per character that keeps track of the frequency of pixels drawn in that character. Together with a variable that keeps track of the maximum frequency, the canvas can thus draw the density of data-points.
691691

692692
- **BarplotGraphics**:
693693
This graphics area is special in that it does not support any pixel manipulation. It is essentially the barplot without decorations but the numbers. It does only support one method `addrow!` which allows the user to add additional bars to the graphics object.
@@ -732,7 +732,7 @@ The method `label!` is responsible for the setting all the textual decorations o
732732
<details>
733733
<summary></a><b>...</b></summary><br>
734734

735-
Run the folowing snippet to analyze invalidations:
735+
Run the following snippet to analyze invalidations:
736736
```julia
737737
using SnoopCompileCore
738738

docs/gen_docs.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ The following types of `Canvas` are implemented:
251251
These two canvas utilizes only standard `ASCII` character for drawing. Naturally, it doesn't look quite as nice as the Unicode-based ones. However, in some situations it might yield better results. Printing plots to a file is one of those situations.
252252
253253
- **DensityCanvas**:
254-
Unlike the `BrailleCanvas`, the density canvas does not simply mark a "pixel" as set. Instead it increments a counter per character that keeps track of the frequency of pixels drawn in that character. Together with a variable that keeps track of the maximum frequency, the canvas can thus draw the density of datapoints.
254+
Unlike the `BrailleCanvas`, the density canvas does not simply mark a "pixel" as set. Instead it increments a counter per character that keeps track of the frequency of pixels drawn in that character. Together with a variable that keeps track of the maximum frequency, the canvas can thus draw the density of data-points.
255255
256256
- **BarplotGraphics**:
257257
This graphics area is special in that it does not support any pixel manipulation. It is essentially the barplot without decorations but the numbers. It does only support one method `addrow!` which allows the user to add additional bars to the graphics object.
@@ -289,7 +289,7 @@ The following types of `Canvas` are implemented:
289289
""")
290290

291291
invalidations = plain_md_par("""
292-
Run the folowing snippet to analyze invalidations:
292+
Run the following snippet to analyze invalidations:
293293
```julia
294294
using SnoopCompileCore
295295
@@ -536,7 +536,7 @@ $(indent(examples.imageplot1))
536536
$(indent(examples.surfaceplot1))
537537
538538
Use `lines=true` to increase the density (underlying call to `lineplot` instead of `scatterplot`, with color interpolation).
539-
By default, `surfaceplot` scales heights to adjust aspect the other axes with `zscale=:aspect`.
539+
By default, `surfaceplot` scales heights to adjust aspect wrt the remaining axes with `zscale=:aspect`.
540540
To plot a slice in 3D, use an anonymous function which maps to a constant value: `zscale=z -> a_constant`:
541541
542542
$(indent(examples.surfaceplot2))

0 commit comments

Comments
 (0)