Skip to content

Commit 7c688c2

Browse files
Fixed #head and #tail to use #key and #value.
1 parent fb9de10 commit 7c688c2

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
accessing
22
mlbAttributeAccessors
3-
^ (Pragma allNamed: #mlbAttribute in: self class) collect: #selector
3+
^ (Pragma allNamed: #mlbAttribute in: self class) collect: #methodSelector

repository/MatplotLibBridge.package/MLBCommand.class/instance/mlbPositionalAttributes.st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ mlbPositionalAttributes
33
^ (((Pragma allNamed: #mlbAttribute: in: self class)
44
select: [ :p | (p methodSelector value: self) isNotNil ]
55
thenCollect: [ :p | (p methodSelector value: self) -> p arguments first ])
6-
sorted: [ :a :b | a tail < b tail ]) collect: #head
6+
sorted: [ :a :b | a value < b value ]) collect: #key

repository/MatplotLibBridge.package/MLBScatterPlot2.class/instance/inBuild.st

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ building
22
inBuild
33
((self data groupedBy: #marker) associations
44
sorted: [ :a :b |
5-
(self markersOrder indexOf: a head) < (self markersOrder indexOf: b head) ])
5+
(self markersOrder indexOf: a key) < (self markersOrder indexOf: b key) ])
66
do: [ :assoc |
77
|marker scatterData|
8-
marker := assoc head.
9-
scatterData := assoc tail.
8+
marker := assoc key.
9+
scatterData := assoc value.
1010
self commandList
1111
add:
1212
(MLBScatterCommand new
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
SystemOrganization addCategory: #MatplotLibBridge!
2-
SystemOrganization addCategory: 'MatplotLibBridge-API'!
3-
SystemOrganization addCategory: 'MatplotLibBridge-Commands'!
4-
SystemOrganization addCategory: 'MatplotLibBridge-Core'!
5-
SystemOrganization addCategory: 'MatplotLibBridge-Errors'!
6-
SystemOrganization addCategory: 'MatplotLibBridge-Examples'!
2+
SystemOrganization addCategory: #'MatplotLibBridge-API'!
3+
SystemOrganization addCategory: #'MatplotLibBridge-Commands'!
4+
SystemOrganization addCategory: #'MatplotLibBridge-Core'!
5+
SystemOrganization addCategory: #'MatplotLibBridge-Errors'!
6+
SystemOrganization addCategory: #'MatplotLibBridge-Examples'!

0 commit comments

Comments
 (0)