Skip to content

Commit e027406

Browse files
committed
update core to toolbar update fixes, and no restriction on visible for plotting; key for docs
1 parent 1ca4e86 commit e027406

11 files changed

+21
-21
lines changed

chans/chanplots/ak-plot.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ func (pl *AKPlot) GVRun() { //types:add
122122
s.Plot.Title = "AK G(V)"
123123
})
124124
}
125-
if pl.Tabs != nil && pl.Tabs.AsLab().IsVisible() {
125+
if pl.Tabs != nil {
126126
pl.Tabs.AsLab().PlotTensorFS(dir)
127127
}
128128
}
@@ -193,7 +193,7 @@ func (pl *AKPlot) TimeRun() { //types:add
193193
s.Plot.Title = "AK G(t)"
194194
})
195195
}
196-
if pl.Tabs != nil && pl.Tabs.AsLab().IsVisible() {
196+
if pl.Tabs != nil {
197197
pl.Tabs.AsLab().PlotTensorFS(dir)
198198
}
199199
}

chans/chanplots/gabab-plot.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ func (pl *GABABPlot) GVRun() { //types:add
108108
s.Plot.Title = "GABA-B G(V)"
109109
})
110110
}
111-
if pl.Tabs != nil && pl.Tabs.AsLab().IsVisible() {
111+
if pl.Tabs != nil {
112112
pl.Tabs.AsLab().PlotTensorFS(dir)
113113
}
114114
}
@@ -136,7 +136,7 @@ func (pl *GABABPlot) GSRun() { //types:add
136136
s.Plot.Title = "GABAB G(spike)"
137137
})
138138
}
139-
if pl.Tabs != nil && pl.Tabs.AsLab().IsVisible() {
139+
if pl.Tabs != nil {
140140
pl.Tabs.AsLab().PlotTensorFS(dir)
141141
}
142142
}
@@ -183,7 +183,7 @@ func (pl *GABABPlot) TimeRun() { //types:add
183183
s.Plot.Title = "GABAB G(t)"
184184
})
185185
}
186-
if pl.Tabs != nil && pl.Tabs.AsLab().IsVisible() {
186+
if pl.Tabs != nil {
187187
pl.Tabs.AsLab().PlotTensorFS(dir)
188188
}
189189
}

chans/chanplots/kir-plot.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ func (pl *KirPlot) GVRun() { //types:add
101101
s.Plot.Title = "kIR G(V)"
102102
})
103103
}
104-
if pl.Tabs != nil && pl.Tabs.AsLab().IsVisible() {
104+
if pl.Tabs != nil {
105105
pl.Tabs.AsLab().PlotTensorFS(dir)
106106
}
107107
}
@@ -161,7 +161,7 @@ func (pl *KirPlot) TimeRun() { //types:add
161161
s.Plot.Title = "GkIR G(t)"
162162
})
163163
}
164-
if pl.Tabs != nil && pl.Tabs.AsLab().IsVisible() {
164+
if pl.Tabs != nil {
165165
pl.Tabs.AsLab().PlotTensorFS(dir)
166166
}
167167
}

chans/chanplots/mahp-plot.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ func (pl *MahpPlot) GVRun() { //types:add
9595
s.Plot.Title = "Mahp G(V)"
9696
})
9797
}
98-
if pl.Tabs != nil && pl.Tabs.AsLab().IsVisible() {
98+
if pl.Tabs != nil {
9999
pl.Tabs.AsLab().PlotTensorFS(dir)
100100
}
101101
}
@@ -157,7 +157,7 @@ func (pl *MahpPlot) TimeRun() { //types:add
157157
s.Plot.Title = "Mahp G(t)"
158158
})
159159
}
160-
if pl.Tabs != nil && pl.Tabs.AsLab().IsVisible() {
160+
if pl.Tabs != nil {
161161
pl.Tabs.AsLab().PlotTensorFS(dir)
162162
}
163163
}

chans/chanplots/nmda-plot.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ func (pl *NMDAPlot) GVRun() { //types:add
121121
}
122122
metadata.SetDoc(dir.Float64("Gnmda_std"), "standard compute function used in axon sims")
123123

124-
if pl.Tabs != nil && pl.Tabs.AsLab().IsVisible() {
124+
if pl.Tabs != nil {
125125
pl.Tabs.AsLab().PlotTensorFS(dir)
126126
}
127127
}
@@ -159,7 +159,7 @@ func (pl *NMDAPlot) TimeRun() { //types:add
159159
s.Plot.Title = "NMDA G(t)"
160160
})
161161
}
162-
if pl.Tabs != nil && pl.Tabs.AsLab().IsVisible() {
162+
if pl.Tabs != nil {
163163
pl.Tabs.AsLab().PlotTensorFS(dir)
164164
}
165165
}

chans/chanplots/sahp-plot.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ func (pl *SahpPlot) GCaRun() { //types:add
8787
s.Plot.Title = "sAHP G(Ca)"
8888
})
8989
}
90-
if pl.Tabs != nil && pl.Tabs.AsLab().IsVisible() {
90+
if pl.Tabs != nil {
9191
pl.Tabs.AsLab().PlotTensorFS(dir)
9292
}
9393
}
@@ -131,7 +131,7 @@ func (pl *SahpPlot) TimeRun() { //types:add
131131
s.Plot.Title = "sAHP G(t)"
132132
})
133133
}
134-
if pl.Tabs != nil && pl.Tabs.AsLab().IsVisible() {
134+
if pl.Tabs != nil {
135135
pl.Tabs.AsLab().PlotTensorFS(dir)
136136
}
137137
}

chans/chanplots/skca-plot.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ func (pl *SKCaPlot) GCaRun() { //types:add
8787
s.Plot.Title = "sK Ca G(Ca)"
8888
})
8989
}
90-
if pl.Tabs != nil && pl.Tabs.AsLab().IsVisible() {
90+
if pl.Tabs != nil {
9191
pl.Tabs.AsLab().PlotTensorFS(dir)
9292
}
9393
}
@@ -143,7 +143,7 @@ func (pl *SKCaPlot) TimeRun() { //types:add
143143
s.Plot.Title = "sK Ca G(t)"
144144
})
145145
}
146-
if pl.Tabs != nil && pl.Tabs.AsLab().IsVisible() {
146+
if pl.Tabs != nil {
147147
pl.Tabs.AsLab().PlotTensorFS(dir)
148148
}
149149
}

chans/chanplots/synca-plot.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ func (pl *SynCaPlot) TimeRun() { //types:add
183183
s.Plot.Title = "SynCa"
184184
})
185185
}
186-
if pl.Tabs != nil && pl.Tabs.AsLab().IsVisible() {
186+
if pl.Tabs != nil {
187187
pl.Tabs.AsLab().PlotTensorFS(dir)
188188
}
189189
}

chans/chanplots/vgcc-plot.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ func (pl *VGCCPlot) GVRun() { //types:add
9696
s.Plot.Title = "VGCC G(V)"
9797
})
9898
}
99-
if pl.Tabs != nil && pl.Tabs.AsLab().IsVisible() {
99+
if pl.Tabs != nil {
100100
pl.Tabs.AsLab().PlotTensorFS(dir)
101101
}
102102
}
@@ -155,7 +155,7 @@ func (pl *VGCCPlot) TimeRun() { //types:add
155155
s.On = true
156156
})
157157
}
158-
if pl.Tabs != nil && pl.Tabs.AsLab().IsVisible() {
158+
if pl.Tabs != nil {
159159
pl.Tabs.AsLab().PlotTensorFS(dir)
160160
}
161161
}

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/emer/axon/v2
33
go 1.23.4
44

55
require (
6-
cogentcore.org/core v0.3.10-0.20250411061709-1b6548f8878f
6+
cogentcore.org/core v0.3.10-0.20250424173140-98b1f1ea8624
77
cogentcore.org/lab v0.1.1-0.20250417215607-52af09a8ee8f
88
github.com/anthonynsimon/bild v0.13.0
99
github.com/chewxy/math32 v1.10.1

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
cogentcore.org/core v0.3.10-0.20250411061709-1b6548f8878f h1:AcMtFUW4BgQtrdu4ZVhEkJovt6JOtJmZ/3ZIQ79DpU0=
2-
cogentcore.org/core v0.3.10-0.20250411061709-1b6548f8878f/go.mod h1:dSb8eH/6CsC7Y9S7ZdqLf0TUbvbgPgrBGCUCn/Z1b/0=
1+
cogentcore.org/core v0.3.10-0.20250424173140-98b1f1ea8624 h1:Gr9Z/I0WAMee/IEn5VzieEnVHSK6KaBXDcKvTCaYk3Y=
2+
cogentcore.org/core v0.3.10-0.20250424173140-98b1f1ea8624/go.mod h1:dSb8eH/6CsC7Y9S7ZdqLf0TUbvbgPgrBGCUCn/Z1b/0=
33
cogentcore.org/lab v0.1.1-0.20250417215607-52af09a8ee8f h1:PbnQxiBw82zPlQ7+wtyf+BY/x3pAsgm50SOPtgpMIVM=
44
cogentcore.org/lab v0.1.1-0.20250417215607-52af09a8ee8f/go.mod h1:g1O98Mxg0ke7P2D7bUR4XCSJQvQ6sIpo6vj/XoTWHwg=
55
github.com/Bios-Marcel/wastebasket/v2 v2.0.2 h1:zOgACjeSca1lvhGDRN/dbcpFkY6FT85f5F2CImywPh4=

0 commit comments

Comments
 (0)