Skip to content

Commit

Permalink
Add more unicode symbols.
Browse files Browse the repository at this point in the history
  • Loading branch information
ma-laforge committed Aug 4, 2020
1 parent be8d3c6 commit 0e38832
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sample/demo1.jl
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,11 @@ t_lres = collect(0:(tmax/10):tmax)

#==Generate plot
===============================================================================#
plot = InspectDR.transientplot(:lin, title="Sample Plot (λ)")
plot = InspectDR.transientplot(:lin, title="Sample Plot (π𝜋α𝛼β𝛽γ𝛾Ω𝛺℧ϕ𝜑𝜙ω𝜔f𝑓ϵ𝜀λ𝜆,⇒x∊ℝ)")
InspectDR.overwritefont!(plot.layout, fontname="monospace", fontscale=1.5)
#TODO: change how layout[] works. Not obvious that you can't just set .bold property of a font
tf = plot.layout[:font_title]; tf.bold = false #Must read first
plot.layout[:font_title] = tf #Then assign to flag property changed
plot.layout[:enable_legend] = true
plot.layout[:halloc_legend] = 150
plot.layout[:enable_timestamp] = true
Expand Down

0 comments on commit 0e38832

Please sign in to comment.