Skip to content

Commit

Permalink
NewTab updates
Browse files Browse the repository at this point in the history
  • Loading branch information
rcoreilly committed Aug 25, 2024
1 parent de1a3e8 commit 2b5efcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions leabra/logging.go
Original file line number Diff line number Diff line change
Expand Up @@ -285,12 +285,12 @@ func LayerActsLogRecReset(lg *elog.Logs) {

// LayerActsLogConfigGUI configures GUI for LayerActsLog Plot and LayerActs Avg Plot
func LayerActsLogConfigGUI(lg *elog.Logs, gui *egui.GUI) {
pt := gui.Tabs.NewTab("LayerActs Plot")
pt, _ := gui.Tabs.NewTab("LayerActs Plot")
plt := plotcore.NewPlotEditor(pt)
gui.Plots["LayerActs"] = plt
plt.SetTable(lg.MiscTables["LayerActs"])

pt = gui.Tabs.NewTab("LayerActs Avg Plot")
pt, _ = gui.Tabs.NewTab("LayerActs Avg Plot")
plt = plotcore.NewPlotEditor(pt)
gui.Plots["LayerActsAvg"] = plt
plt.SetTable(lg.MiscTables["LayerActsAvg"])
Expand Down

0 comments on commit 2b5efcf

Please sign in to comment.