Skip to content

Commit 1c414d3

Browse files
authored
Merge pull request #653 from JuliaParallel/jps/plotsext-legend-outside
PlotsExt: Move legend to outerright of plot
2 parents d597260 + f01c7a2 commit 1c414d3

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ Manifest.toml
88
*.jls
99
*.dot
1010
docs/build
11+
.vscode

docs/src/darray.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -684,6 +684,9 @@ From `Base`:
684684
From `Random`:
685685
- `rand!`/`randn!`
686686
687+
From `SparseArrays`:
688+
- `sprand`
689+
687690
From `Statistics`:
688691
- `mean`
689692
- `var`

ext/PlotsExt.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ function Dagger.render_logs(logs::Dict, ::Val{:plots_gantt};
185185
yticks=(1.5:(nrow(df) + 0.5), u),
186186
xlabel="Time (seconds)", ylabel,
187187
xlim=(0.0, (global_t_end - global_t_start) / 1e9),
188-
legendalpha=0,
188+
legendalpha=0, legend=:outertopright,
189189
kwargs...)
190190
end
191191

0 commit comments

Comments
 (0)