René's URL Explorer Experiment


Title: Patches cannot be picked when y-axis has logarithmic scaling · Issue #8979 · matplotlib/matplotlib · GitHub

Open Graph Title: Patches cannot be picked when y-axis has logarithmic scaling · Issue #8979 · matplotlib/matplotlib

X Title: Patches cannot be picked when y-axis has logarithmic scaling · Issue #8979 · matplotlib/matplotlib

Description: Bug report Bug summary When plotting with a logarithmic scale on the y-axis, patches have incorrect picking behaviour. Text seems to work correctly, but FancyArrowPatch cannot be picked at all and the pick area for circles is very far of...

Open Graph Description: Bug report Bug summary When plotting with a logarithmic scale on the y-axis, patches have incorrect picking behaviour. Text seems to work correctly, but FancyArrowPatch cannot be picked at all and ...

X Description: Bug report Bug summary When plotting with a logarithmic scale on the y-axis, patches have incorrect picking behaviour. Text seems to work correctly, but FancyArrowPatch cannot be picked at all and ...

Opengraph URL: https://github.com/matplotlib/matplotlib/issues/8979

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Patches cannot be picked when y-axis has logarithmic scaling","articleBody":"\u003c!--To help us understand and resolve your issue, please fill out the form to the best of your ability.--\u003e\r\n\u003c!--You can feel free to delete the sections that do not apply.--\u003e\r\n\r\n### Bug report\r\n**Bug summary**\r\nWhen plotting with a logarithmic scale on the y-axis, patches have incorrect picking behaviour.\r\n\r\nText seems to work correctly, but FancyArrowPatch cannot be picked at all and the pick area for circles is very far off to the left.\r\n\r\n**Code for reproduction**\r\nMake sure to uncomment the scaling line if you want to see the bug!\r\n```python\r\nfrom __future__ import print_function\r\n\r\nfrom matplotlib import pyplot as plt\r\nfrom matplotlib import patches\r\nfrom matplotlib import text\r\n\r\n\r\ndef pick_event(event):\r\n    print(\"PICK\", event.artist)\r\n\r\n\r\ndef main():\r\n    fig = plt.figure()\r\n    axes = fig.add_subplot(111)\r\n\r\n    # Uncommenting this makes picking break for the patches.\r\n    # The circle will have a wierd selection box to the left side of the plot,\r\n    # and the line will not be selectable at all.\r\n    # axes.set_yscale('log')\r\n    axes.set_xlim((0, 5))\r\n    axes.set_ylim((1e-1, 10))\r\n\r\n    # Add an arrow.\r\n    arrow = patches.FancyArrowPatch(\r\n        (3, 2),\r\n        (4, 3),\r\n    )\r\n    arrow.set_picker(4)\r\n    axes.add_patch(arrow)\r\n\r\n    # Add a circle.\r\n    circle = patches.Circle(xy=(1.90, 0.5), radius=0.1)\r\n    circle.set_picker(4)\r\n    axes.add_patch(circle)\r\n\r\n    # Add some text.\r\n    text_ = text.Text(1, 1, 'text')\r\n    text_.set_picker(4)\r\n    axes.add_artist(text_)\r\n\r\n    # Connect the pick event and show the plot.\r\n    fig.canvas.mpl_connect('pick_event', pick_event)\r\n    plt.show()\r\n\r\n\r\nif __name__ == '__main__':\r\n    main()\r\n```\r\n\r\n**Actual outcome**\r\nOnly the text is properly pickable.\r\n\r\n**Expected outcome**\r\nEverything should be properly pickable.\r\n\r\n**Matplotlib version**\r\n  * Operating System:\r\n```\r\n$ lsb_release -a\r\nNo LSB modules are available.\r\nDistributor ID:\tUbuntu\r\nDescription:\tUbuntu 16.04.2 LTS\r\nRelease:\t16.04\r\nCodename:\txenial\r\n```\r\n  * Matplotlib Version: \r\n```\r\n$ python -c \"import matplotlib; print matplotlib.__version__\"\r\n2.0.2\r\n```\r\n  * Python Version:\r\n```\r\n$ python --version\r\nPython 2.7.12\r\n```\r\n\r\nInstalled matplotlib via pip:\r\n```\r\n(virtenv) 13:49:32-user@computer:~/Desktop$ pip install matplotlib\r\nCollecting matplotlib\r\n  Downloading matplotlib-2.0.2-cp27-cp27mu-manylinux1_x86_64.whl (14.5MB)\r\n    100% |████████████████████████████████| 14.5MB 98kB/s \r\nCollecting numpy\u003e=1.7.1 (from matplotlib)\r\n  Downloading numpy-1.13.1-cp27-cp27mu-manylinux1_x86_64.whl (16.6MB)\r\n    100% |████████████████████████████████| 16.6MB 115kB/s \r\nCollecting cycler\u003e=0.10 (from matplotlib)\r\n  Using cached cycler-0.10.0-py2.py3-none-any.whl\r\nCollecting python-dateutil (from matplotlib)\r\n  Downloading python_dateutil-2.6.1-py2.py3-none-any.whl (194kB)\r\n    100% |████████████████████████████████| 194kB 8.2MB/s \r\nCollecting functools32 (from matplotlib)\r\nCollecting six\u003e=1.10 (from matplotlib)\r\n  Using cached six-1.10.0-py2.py3-none-any.whl\r\nCollecting pytz (from matplotlib)\r\n  Using cached pytz-2017.2-py2.py3-none-any.whl\r\nCollecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,\u003e=1.5.6 (from matplotlib)\r\n  Using cached pyparsing-2.2.0-py2.py3-none-any.whl\r\nCollecting subprocess32 (from matplotlib)\r\nInstalling collected packages: numpy, six, cycler, python-dateutil, functools32, pytz, pyparsing, subprocess32, matplotlib\r\nSuccessfully installed cycler-0.10.0 functools32-3.2.3-2 matplotlib-2.0.2 numpy-1.13.1 pyparsing-2.2.0 python-dateutil-2.6.1 pytz-2017.2 six-1.10.0 subprocess32-3.2.7\r\n```\r\n\u003c!--Please tell us how you installed matplotlib and python e.g., from source, pip, conda--\u003e\r\n\u003c!--If you installed from conda, please specify which channel you used if not the default--\u003e\r\n\r\n","author":{"url":"https://github.com/lejar","@type":"Person","name":"lejar"},"datePublished":"2017-08-02T11:55:04.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/8979/matplotlib/issues/8979"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:cac627e5-3aab-5381-05b5-befc632ad04e
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDEAC:18AAA8:280F040:36CB154:6A5449A6
html-safe-nonceb8efd129c6ebaa584694b99a30b7e344aa4c0f533235ad7d7bef15db9bd7092b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERUFDOjE4QUFBODoyODBGMDQwOjM2Q0IxNTQ6NkE1NDQ5QTYiLCJ2aXNpdG9yX2lkIjoiNzc5NTMzNjUxOTg1MDY3NDU5OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac5682f939225d0b2726c05f7fdc9818b9fc8557c15228628269ee59eb509c43d1
hovercard-subject-tagissue:247363490
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/matplotlib/matplotlib/8979/issue_layout
twitter:imagehttps://opengraph.githubassets.com/ad2f42f746f2fdb841e0ca1bdf0f2fe7d4591bd4326551326a5bb22deb3c5547/matplotlib/matplotlib/issues/8979
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ad2f42f746f2fdb841e0ca1bdf0f2fe7d4591bd4326551326a5bb22deb3c5547/matplotlib/matplotlib/issues/8979
og:image:altBug report Bug summary When plotting with a logarithmic scale on the y-axis, patches have incorrect picking behaviour. Text seems to work correctly, but FancyArrowPatch cannot be picked at all and ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamelejar
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-preview
go-importgithub.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git
octolytics-dimension-user_id215947
octolytics-dimension-user_loginmatplotlib
octolytics-dimension-repository_id1385122
octolytics-dimension-repository_nwomatplotlib/matplotlib
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1385122
octolytics-dimension-repository_network_root_nwomatplotlib/matplotlib
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/matplotlib/matplotlib/issues/8979#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fissues%2F8979
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fissues%2F8979
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=matplotlib%2Fmatplotlib
Reloadhttps://github.com/matplotlib/matplotlib/issues/8979
Reloadhttps://github.com/matplotlib/matplotlib/issues/8979
Reloadhttps://github.com/matplotlib/matplotlib/issues/8979
Please reload this pagehttps://github.com/matplotlib/matplotlib/issues/8979
matplotlib https://github.com/matplotlib
matplotlibhttps://github.com/matplotlib/matplotlib
Please reload this pagehttps://github.com/matplotlib/matplotlib/issues/8979
Notifications https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Fork 8.4k https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Star 23k https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Code https://github.com/matplotlib/matplotlib
Issues 1.1k https://github.com/matplotlib/matplotlib/issues
Pull requests 408 https://github.com/matplotlib/matplotlib/pulls
Actions https://github.com/matplotlib/matplotlib/actions
Projects https://github.com/matplotlib/matplotlib/projects
Wiki https://github.com/matplotlib/matplotlib/wiki
Security and quality 0 https://github.com/matplotlib/matplotlib/security
Insights https://github.com/matplotlib/matplotlib/pulse
Code https://github.com/matplotlib/matplotlib
Issues https://github.com/matplotlib/matplotlib/issues
Pull requests https://github.com/matplotlib/matplotlib/pulls
Actions https://github.com/matplotlib/matplotlib/actions
Projects https://github.com/matplotlib/matplotlib/projects
Wiki https://github.com/matplotlib/matplotlib/wiki
Security and quality https://github.com/matplotlib/matplotlib/security
Insights https://github.com/matplotlib/matplotlib/pulse
Patches cannot be picked when y-axis has logarithmic scalinghttps://github.com/matplotlib/matplotlib/issues/8979#top
status: duplicatehttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22status%3A%20duplicate%22
https://github.com/lejar
lejarhttps://github.com/lejar
on Aug 2, 2017https://github.com/matplotlib/matplotlib/issues/8979#issue-247363490
status: duplicatehttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22status%3A%20duplicate%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.