appsembler / figures

Reporting and data retrieval app for Open edX
MIT License
44 stars 37 forks source link

Could figures be used on Python3.8.5? #318

Closed ardeal closed 3 years ago

ardeal commented 3 years ago

Hi,

I am using python 3.8.5.

In my code, the following code will encountered the following issue:

from figures import set_limits, plot_coords, plot_bounds, plot_line_issimple

Traceback (most recent call last):
  File "C:\Program Files\JetBrains\PyCharm Community Edition 2020.3.1\plugins\python-ce\helpers\pydev\pydevd.py", line 1477, in _exec
    pydev_imports.execfile(file, globals, locals)  # execute the script
  File "C:\Program Files\JetBrains\PyCharm Community Edition 2020.3.1\plugins\python-ce\helpers\pydev\_pydev_imps\_pydev_execfile.py", line 18, in execfile
    exec(compile(contents+"\n", file, 'exec'), glob, loc)
  File "C:/doc/code_python/har/annotation/linestring.py", line 4, in <module>
    from figures import set_limits, plot_coords, plot_bounds, plot_line_issimple
ImportError: cannot import name 'set_limits' from 'figures' (C:\ProgramData\Anaconda3\lib\site-packages\figures\__init__.py)
johnbaldwin commented 3 years ago

@ardeal I believe you have Figures mistaken for some other package