santosjorge / cufflinks

Productivity Tools for Plotly + Pandas
MIT License
3.02k stars 675 forks source link

cufflinks/potlytools.py #241

Open cherryMonth opened 4 years ago

cherryMonth commented 4 years ago

When I used cufflinks, I encountered some problems, such as labels and values can not be integer 0, if this happens, it will be reported in the 1004 and 1006 of potlytools.py. This is because 0 is also False in the logical judgment of Python. QQ20200428-143309