mirror of
https://github.com/gonum/gonum.git
synced 2025-10-24 15:43:07 +08:00
graph/layout: update for changes in gonum/plot@v0.8.1
This commit is contained in:
@@ -75,7 +75,7 @@ func (p render) Plot(c draw.Canvas, plt *plot.Plot) {
|
||||
panic(err)
|
||||
}
|
||||
for i := range l.TextStyle {
|
||||
l.TextStyle[i] = draw.TextStyle{Font: fnt, XAlign: draw.XCenter, YAlign: -0.33}
|
||||
l.TextStyle[i] = draw.TextStyle{Font: fnt, XAlign: draw.XCenter, YAlign: -0.25}
|
||||
}
|
||||
|
||||
l.Plot(c, plt)
|
||||
|
||||
Reference in New Issue
Block a user