Skip to content

Commit

Permalink
adjust doc sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
mkborregaard committed Oct 14, 2021
1 parent b8ac504 commit 84d75b3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/src/man/plotting.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ default is `:dendrogram`
```@example plotting
using Phylo, Plots
ENV["GKSwstype"]="nul" # hide
default(linecolor = :black, size = (600, 600)) # looks nicer with black lines
default(linecolor = :black, size = (400, 400)) # looks nicer with black lines
hummers = open(parsenewick, Phylo.path("hummingbirds.tree"))
plot(hummers, size = (400, 600), showtips = false)
```
Expand Down Expand Up @@ -89,7 +89,8 @@ plot(hummers,
size = (400, 800),
linecolor = :orange, linewidth = 5,
markersize = 10, markercolor = :steelblue, markerstrokecolor = :white,
series_annotations = text.(1:nnodes(hummers), 6, :center, :center, :white)
series_annotations = text.(1:nnodes(hummers), 5, :center, :center, :white,
tipfont = (4,))
)
```

Expand All @@ -111,7 +112,7 @@ rand!(tempsampler, hummers)
plot(hummers, showtips = false,
marker_group = "TemperatureTrait",
legend = :topleft, msc = :white, treetype = :fan,
c = [:red :blue :green], size = (600, 600))
c = [:red :blue :green])
```
```@docs
map_depthfirst
Expand Down

0 comments on commit 84d75b3

Please sign in to comment.