Skip to content

Commit 01e2080

Browse files
committed
add Labels::set_labels method
1 parent 97180ce commit 01e2080

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/PDL/Graphics/TriD/Objects.pm

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,5 +209,9 @@ sub get_valid_options { +{
209209
Strings => [],
210210
Lighting => 0,
211211
}}
212+
sub set_labels {
213+
my ($this, $array) = @_;
214+
$this->{Options}{Strings} = $array;
215+
}
212216

213217
1;

0 commit comments

Comments
 (0)