|
@@ -1,6 +1,6 @@
|
|
from .DataStream import EMchPosmap as pos_map, span_days, time_border, calc_interval
|
|
from .DataStream import EMchPosmap as pos_map, span_days, time_border, calc_interval
|
|
from .MerchantReader import MerchantReader
|
|
from .MerchantReader import MerchantReader
|
|
-from .MerchantPainter import MerchantPainter, allpathes
|
|
|
|
|
|
+from .MerchantPainter import MerchantPainter, mch_paths
|
|
from matplotlib.figure import Figure
|
|
from matplotlib.figure import Figure
|
|
from matplotlib import ticker
|
|
from matplotlib import ticker
|
|
from io import BytesIO
|
|
from io import BytesIO
|
|
@@ -53,7 +53,7 @@ class MerchantAmountPainter(MerchantPainter):
|
|
|
|
|
|
def paint(self):
|
|
def paint(self):
|
|
tuple_pathes = self._reader.many_tuple_path(self._days, self._mchids, self._card_types, self._spec)
|
|
tuple_pathes = self._reader.many_tuple_path(self._days, self._mchids, self._card_types, self._spec)
|
|
- gen = allpathes(self._reader, tuple_pathes, self._days, self._spec)
|
|
|
|
|
|
+ gen = mch_paths(self._reader, tuple_pathes, self._days, self._spec)
|
|
if len(self._days) == 0:
|
|
if len(self._days) == 0:
|
|
return BytesIO()
|
|
return BytesIO()
|
|
|
|
|