Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d555e37

Browse files
committed
Fixed bug 1209354
svn path=/trunk/matplotlib/; revision=2590
1 parent 65090cf commit d555e37

3 files changed

Lines changed: 8 additions & 5 deletions

File tree

CHANGELOG

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
2006-07-22 Fixed bug #1209354 - DSD
2+
13
2006-07-22 make scatter() work with the kwarg "color". Closes bug
24
1285750 - DSD
35

lib/matplotlib/artist.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -425,9 +425,10 @@ def get(o, *args, **kwargs):
425425

426426
def setp(h, *args, **kwargs):
427427
"""
428-
matplotlib supports the use of setp ("set property") and getp to set and get object properties, as well as to do
429-
introspection on the object For example, to set the linestyle of a
430-
line to be dashed, you can do
428+
matplotlib supports the use of setp ("set property") and getp to set
429+
and get object properties, as well as to do introspection on the
430+
object For example, to set the linestyle of a line to be dashed, you
431+
can do
431432
432433
>>> line, = plot([1,2,3])
433434
>>> setp(line, linestyle='--')

lib/matplotlib/axis.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -626,8 +626,8 @@ def get_offset_text(self):
626626

627627
def get_ticklabels(self):
628628
'Return a list of Text instances for ticklabels'
629-
labels1 = [tick.label1 for tick in self.get_major_ticks() if tick.label1On]
630-
labels2 = [tick.label2 for tick in self.get_major_ticks() if tick.label2On]
629+
labels1 = [tick.label1 for tick in self.majorTicks if tick.label1On]
630+
labels2 = [tick.label2 for tick in self.majorTicks if tick.label2On]
631631
return silent_list('Text ticklabel', labels1+labels2)
632632

633633
def get_ticklines(self):

0 commit comments

Comments
 (0)