Skip to content

Commit

Permalink
BUG: _get_marker_compat insufficient on matplotlib < 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wesm committed Jun 29, 2012
1 parent 07cea90 commit a7ca62b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pandas/tools/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@ def _gcf():

def _get_marker_compat(marker):
import matplotlib.lines as mlines
import matplotlib as mpl
if mpl.__version__ < '1.1.0' and marker == '.':
return 'o'
if marker not in mlines.lineMarkers:
return 'o'
return marker
Expand Down

0 comments on commit a7ca62b

Please sign in to comment.