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

Skip to content

Commit fcdcd55

Browse files
committed
FIX process_plot_format is not in the axes module anymore
1 parent 5e65bbe commit fcdcd55

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/matplotlib/tri/triplot.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
from matplotlib.tri.triangulation import Triangulation
66
import numpy as np
77

8+
89
def triplot(ax, *args, **kwargs):
910
"""
1011
Draw a unstructured triangular grid as lines and/or markers.
@@ -53,7 +54,7 @@ def triplot(ax, *args, **kwargs):
5354
fmt = ''
5455
if len(args) > 0:
5556
fmt = args[0]
56-
linestyle, marker, color = matplotlib.axes._process_plot_format(fmt)
57+
linestyle, marker, color = matplotlib.axes._base._process_plot_format(fmt)
5758

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

0 commit comments

Comments
 (0)