Title: Incorrect rendering of legend icon with PythonQwt 0.15.0 and PyQt6 6.8.1 · Issue #104 · PlotPyStack/PythonQwt · GitHub
Open Graph Title: Incorrect rendering of legend icon with PythonQwt 0.15.0 and PyQt6 6.8.1 · Issue #104 · PlotPyStack/PythonQwt
X Title: Incorrect rendering of legend icon with PythonQwt 0.15.0 and PyQt6 6.8.1 · Issue #104 · PlotPyStack/PythonQwt
Description: Issue Description The legend icon is not displayed as expected. Instead of a line, the icon appears as a small square in the top-left corner of the icon rectangle area. This issue occurs in a clean environment with only PythonQwt 0.15.0 ...
Open Graph Description: Issue Description The legend icon is not displayed as expected. Instead of a line, the icon appears as a small square in the top-left corner of the icon rectangle area. This issue occurs in a clean...
X Description: Issue Description The legend icon is not displayed as expected. Instead of a line, the icon appears as a small square in the top-left corner of the icon rectangle area. This issue occurs in a clean...
Opengraph URL: https://github.com/PlotPyStack/PythonQwt/issues/104
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Incorrect rendering of legend icon with PythonQwt 0.15.0 and PyQt6 6.8.1","articleBody":"### **Issue Description**\n\nThe legend icon is not displayed as expected. Instead of a line, the icon appears as a small square in the top-left corner of the icon rectangle area. \n\nThis issue occurs in a clean environment with only PythonQwt 0.15.0 and PyQt6 6.8.1 installed.\n\n\u003cimg width=\"597\" height=\"404\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/fae29034-da90-47e6-8c20-24497dda90e5\" /\u003e\n\n\u003cimg width=\"571\" height=\"209\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/84333bfd-7995-4c72-9ae2-69142dc78890\" /\u003e\n\nThe problem probably occurs during the creation of the QwtGraphic (of the icon) or in converting it to a pixmap using the QwtGraphic.toPixmap() method\n\n### **Location**\n\n(Not sure)\n\nFile: plot_curve.py or graphic.py\nMethod: QwtPlotCurve.LegendIcon or QwtGraphic.toPixmap\n\n### **Impact**\n\nThis issue prevents users from visually distinguishing between different plot curves in the legend, as the legend icon does not accurately represent the curve style. It reduces the clarity and usability of plots, especially in cases with multiple curves, making it difficult to interpret the plot data from the legend.\n\n### **Additional Context**\n\nThis bug likely appeared after updating PyQt6 to version 6.7 or 6.8.","author":{"url":"https://github.com/Adrian-B-Moreira","@type":"Person","name":"Adrian-B-Moreira"},"datePublished":"2025-11-05T17:04:16.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/104/PythonQwt/issues/104"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0c8bfa6a-a81d-3390-78b0-ebdb294c5ffa |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9C40:313CEF:4974CB1:63911AE:697309DE |
| html-safe-nonce | 4380418b450d953338a20b59122313cc0ca2469a3217f83b97aeb7dbbee52a35 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QzQwOjMxM0NFRjo0OTc0Q0IxOjYzOTExQUU6Njk3MzA5REUiLCJ2aXNpdG9yX2lkIjoiNjE2MTAxNDg5MDA1MjEyNzE5OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ff85a342a5369df8ee06815617a59bd1e66996ffdb1a04c6cf2e10e095b05421 |
| hovercard-subject-tag | issue:3592014903 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PlotPyStack/PythonQwt/104/issue_layout |
| twitter:image | https://opengraph.githubassets.com/83a0d10cf263913f8f9452f0cb6a5287ad67b14641b800cd03db512a8a9017b0/PlotPyStack/PythonQwt/issues/104 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/83a0d10cf263913f8f9452f0cb6a5287ad67b14641b800cd03db512a8a9017b0/PlotPyStack/PythonQwt/issues/104 |
| og:image:alt | Issue Description The legend icon is not displayed as expected. Instead of a line, the icon appears as a small square in the top-left corner of the icon rectangle area. This issue occurs in a clean... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Adrian-B-Moreira |
| hostname | github.com |
| expected-hostname | github.com |
| None | 44ab3188c1dcfe3be0f9c3feca2e04e14fb79f120939ce2395e4f15ab96ec1d4 |
| turbo-cache-control | no-preview |
| go-import | github.com/PlotPyStack/PythonQwt git https://github.com/PlotPyStack/PythonQwt.git |
| octolytics-dimension-user_id | 145201262 |
| octolytics-dimension-user_login | PlotPyStack |
| octolytics-dimension-repository_id | 41204495 |
| octolytics-dimension-repository_nwo | PlotPyStack/PythonQwt |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 41204495 |
| octolytics-dimension-repository_network_root_nwo | PlotPyStack/PythonQwt |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | a5e2b48bd1260476599758f5d253b5d24092ab84 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width