Changeset 1946 for trunk


Ignore:
Timestamp:
11/04/10 19:18:04 (14 years ago)
Author:
Kana Sugimoto
Message:

New Development: No

JIRA Issue: No (a bug fix)

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs:

Put in Release Notes: No

Module(s): asapplotter and sdplot

Description:

Fixed a bug which caused unexpected error in multi-page plots
when mod(npanel,16) !=0.
Don't set legend when no line is plotted on the subplot.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/asaplotbase.py

    r1926 r1946  
    745745                        sp['axes'].legend(tuple(lines), tuple(labels),
    746746                                          self.loc, prop=fp)
    747                     else:
    748                         sp['axes'].legend((' '))
     747                    #else:
     748                    #    sp['axes'].legend((' '))
    749749
    750750            from matplotlib.artist import setp
Note: See TracChangeset for help on using the changeset viewer.