| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Sorry, something went wrong.
|
Hi there, @kkoutris! Thanks for looking into this issue. It looks like you have a few linting issues being caught by flake8. Pre-commit hooks check this, but you can also use flake8 <file path to lint> to check for linting issues. |
Sorry, something went wrong.
|
I took the liberty of adding "Closes ..." to the original post. In that way the issue is automatically closed upon merge. |
Sorry, something went wrong.
There was a problem hiding this comment.
I think a different approach is needed to solve this issue.
I added a comment that might offer more insight here: #22392 (comment)
Sorry, something went wrong.
| am1 = AngleAnnotation(center, p1[1], p2[1], ax=ax, size=75, | ||
| textposition="inside", text=r"$\alpha$") | ||
| am2 = AngleAnnotation(center, p2[1], p1[0], ax=ax, size=35, | ||
| textposition="inside", text=r"$\beta$") | ||
| am3 = AngleAnnotation(center, p1[0], p2[0], ax=ax, size=75, | ||
| textposition="inside", text=r"$\gamma$") | ||
| am4 = AngleAnnotation(center, p2[0], p1[1], ax=ax, size=35, | ||
| textposition="inside", text=r"$\theta$") |
There was a problem hiding this comment.
textposition="inside" is the default for the AngleAnnotation class.
This can be found here:
Sorry, something went wrong.
| if self.textposition == "inside": | ||
| r = s / np.interp(angle_span, [60, 90, 135, 180], | ||
| [3.3, 3.5, 3.8, 4]) | ||
| [10, 3.5, 11.4, 4]) |
There was a problem hiding this comment.
I'm not sure this is the right approach to fix the issue. This is moving the text, but the issue is really about the scaling of the angle markings.
Sorry, something went wrong.
|
Moved to draft until comments addressed. Thanks! |
Sorry, something went wrong.
|
Closing as this is not the right approach (see #23027 (review)). |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
PR Summary
Fix the plot example so that the letters be inside the arcs.
Closes #22392
PR Checklist
Tests and Styling
Documentation