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

Skip to content
Prev Previous commit
Next Next commit
FIX process_plot_format is not in the axes module anymore
  • Loading branch information
NelleV committed Jun 29, 2013
commit fcdcd555968e9def758eae64d72f831fa339b600
3 changes: 2 additions & 1 deletion lib/matplotlib/tri/triplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from matplotlib.tri.triangulation import Triangulation
import numpy as np


def triplot(ax, *args, **kwargs):
"""
Draw a unstructured triangular grid as lines and/or markers.
Expand Down Expand Up @@ -53,7 +54,7 @@ def triplot(ax, *args, **kwargs):
fmt = ''
if len(args) > 0:
fmt = args[0]
linestyle, marker, color = matplotlib.axes._process_plot_format(fmt)
linestyle, marker, color = matplotlib.axes._base._process_plot_format(fmt)

# Draw lines without markers, if lines are required.
if linestyle is not None and linestyle is not 'None':
Expand Down