Commit 235656a
James Evans
Fixed a bug in units.py where is_numlike was iterating over a list and calling
is_numlike with the list as the parameter instead of the individual value. This
was actually not returning correct values when a list was passed in.
Modified axis.set_unit to not attempt to determine the converter to use based
on the specified unit since a unit is not necessarily an instance of the type to
be converted. The removed lines were made redundant due to a previous submission.
svn path=/trunk/matplotlib/; revision=32561 parent e13798d commit 235656a
2 files changed
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
848 | 848 | | |
849 | 849 | | |
850 | 850 | | |
851 | | - | |
852 | | - | |
853 | | - | |
854 | 851 | | |
855 | 852 | | |
856 | 853 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
0 commit comments