Advertisement
Dodma

Untitled

Jun 30th, 2020
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. ---------------------------------------------------------------------------
  2. ValueError Traceback (most recent call last)
  3. <ipython-input-69-0aeb77ed27a7> in <module>
  4. 16
  5. 17 # задаем масштаб осей
  6. ---> 18 plt.axis(["2019-08-01", '2019-08-31'])
  7.  
  8. /opt/conda/lib/python3.7/site-packages/matplotlib/pyplot.py in axis(*args, **kwargs)
  9. 2410 @docstring.copy(Axes.axis)
  10. 2411 def axis(*args, **kwargs):
  11. -> 2412 return gca().axis(*args, **kwargs)
  12. 2413
  13. 2414
  14.  
  15. /opt/conda/lib/python3.7/site-packages/matplotlib/axes/_base.py in axis(self, *args, **kwargs)
  16. 1730
  17. 1731 if len(v) != 4:
  18. -> 1732 raise ValueError('args must contain [xmin xmax ymin ymax]')
  19. 1733
  20. 1734 self.set_xlim([v[0], v[1]], emit=emit, auto=False)
  21.  
  22. ValueError: args must contain [xmin xmax ymin ymax]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement