Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
monkeycc opened this issue May 13, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@monkeycc
Copy link

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 monkeycc added the bug Something isn't working label May 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant