Skip to content

Commit

Permalink
Adapted to GLMakie 0.8 (textsize replaced by fontsize in src/maki…
Browse files Browse the repository at this point in the history
…e.jl)
  • Loading branch information
MartinOtter committed Nov 14, 2023
1 parent ec654df commit 2b9429c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "SignalTables"
uuid = "3201582d-3078-4276-ba5d-0a1254d79d7c"
authors = ["[email protected] <[email protected]>"]
version = "0.4.3"
version = "0.4.4"

[deps]
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
Expand Down
4 changes: 4 additions & 0 deletions docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,10 @@ are different to the Python 2.x version.

## Release Notes

### Version 0.4.4

- Adapted to GLMakie 0.8 (`textsize` replaced by `fontsize` in src/makie.jl)

### Version 0.4.3

- Minor improvements when printing a SignalTable.
Expand Down
4 changes: 2 additions & 2 deletions src/makie.jl
Original file line number Diff line number Diff line change
Expand Up @@ -333,10 +333,10 @@ function plot(result, names::AbstractMatrix; heading::AbstractString="", grid::B

# Add overall heading in case of a matrix of diagrams (ncol > 1) and add a figure label on the top level
if hasTopHeading
fig[0,:] = Label(fig, heading2, textsize = 14)
fig[0,:] = Label(fig, heading2, fontsize = 14)
end
if showFigureStringInDiagram
figText = fig[1,1,TopLeft()] = Label(fig, "showFigure(" * string(figure) * ")", textsize=9, color=:blue, halign = :left)
figText = fig[1,1,TopLeft()] = Label(fig, "showFigure(" * string(figure) * ")", fontsize=9, color=:blue, halign = :left)
if hasTopHeading
figText.padding = (0, 0, 5, 0)
else
Expand Down

0 comments on commit 2b9429c

Please sign in to comment.