Add "Why import pyecharts failure" tips

This commit is contained in:
fasiondog 2019-07-27 00:47:39 +08:00
parent ba14c1ed61
commit 8b1618f790

View File

@ -33,9 +33,13 @@ from hikyuu import KQuery, constant
from hikyuu.indicator import MACD, CLOSE, HIGH, LOW
from hikyuu.trade_manage import BUSINESS
from pyecharts import Overlap, Line, Kline, Bar, Grid, Style, EffectScatter
from .common import get_draw_title
try:
from pyecharts import Overlap, Line, Kline, Bar, Grid, Style, EffectScatter
except:
print("Pyecharts version is not compatible, please switch to 0.5.11 version!")
def ax_set_xlim(self, *args, **kwargs):
pass