SimpleDrawing-Desktop-App icon indicating copy to clipboard operation
SimpleDrawing-Desktop-App copied to clipboard

draw_dashed_line(drawing: str, p1: list[float], p2: list[float], color: list[float], thickness: int, spacing: int, tag: str):

Open monkeycc opened this issue 3 years ago • 0 comments

I have a problem here. I don't know how to solve it

Desktop (please complete the following information):

  • OS: win11
  • python: 3.7
python SimpleDrawing.py
Traceback (most recent call last):
  File "SimpleDrawing.py", line 10, in <module>
    import tools
  File "D:\0SDXX\SimpleDrawing-Desktop-App\tools\__init__.py", line 16, in <module>
    from tools.dashedLineTool import dashedLineTool
  File "D:\0SDXX\SimpleDrawing-Desktop-App\tools\dashedLineTool.py", line 7, in <module>
    def draw_dashed_line(drawing: str, p1: list[float], p2: list[float], color: list[float], thickness: int, spacing: int, tag: str):
TypeError: 'type' object is not subscriptable

Thanks for sharing the code, very good program

Do you have any plans to upgrade to the latest version DearPyGui 1.6.X

monkeycc avatar May 13 '22 13:05 monkeycc