In pandes, while using conspiracy method and passing both logic 'color' and 'style', an error I think it should be raised only when the style of the string is a symbol of color. But in the example below, the error is also being raised, although the string in style does not have any color symbol:
Import from data import from pandus import to nppy np df = DataFrame ({ 'A': np .random.rand (10), 'b': np.random.rand (10), 'c': np.random.rand (10)}) df.plot (color = ['red' , 'Black', 'blue'], style = ['-', '-', '-'])
The error is not clear (typewriter error: expected strings or buffer) It should be fixed, though it is easy to work around:
df.plot (style = ['r-', 'k' ',' b- '])
No comments:
Post a Comment