Title: Inconsistency between " and ' in the code · Issue #8079 · matplotlib/matplotlib · GitHub
Open Graph Title: Inconsistency between " and ' in the code · Issue #8079 · matplotlib/matplotlib
X Title: Inconsistency between " and ' in the code · Issue #8079 · matplotlib/matplotlib
Description: Hi, That's not a bug per say, but I noticed a strong inconsistency in the codebase between strings with simple and double quotes. For instance, see that line (def hist in _axes.py): @_preprocess_data(replace_names=["x", 'weights'], label...
Open Graph Description: Hi, That's not a bug per say, but I noticed a strong inconsistency in the codebase between strings with simple and double quotes. For instance, see that line (def hist in _axes.py): @_preprocess_da...
X Description: Hi, That's not a bug per say, but I noticed a strong inconsistency in the codebase between strings with simple and double quotes. For instance, see that line (def hist in _axes.py): @_preproces...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/8079
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Inconsistency between \" and ' in the code","articleBody":"Hi,\r\nThat's not a bug per say, but I noticed a strong inconsistency in the codebase between strings with simple and double quotes.\r\nFor instance, see [that line (`def hist` in `_axes.py`)](https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/axes/_axes.py#L5903):\r\n```python\r\n@_preprocess_data(replace_names=[\"x\", 'weights'], label_namer=\"x\")\r\n```\r\nI don't think there is a semantic reason for this difference between `\"x\"` and `'weights'` (if there is, it's not clear).\r\n\r\nIf a maintainer thinks this should be corrected, I think a carefully designed regexp and `sed` command line can do the job quickly.","author":{"url":"https://github.com/Naereen","@type":"Person","name":"Naereen"},"datePublished":"2017-02-15T15:10:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/8079/matplotlib/issues/8079"}
| 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:ef6a6951-29c9-81f2-40c8-1dcc8c5fb088 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9094:276C72:1292402:18F6D1D:6A53425B |
| html-safe-nonce | e250ba98fb050e6dd7e7c778c2e7767f37956d1fceb3b5f0a9dd6b04c9727507 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDk0OjI3NkM3MjoxMjkyNDAyOjE4RjZEMUQ6NkE1MzQyNUIiLCJ2aXNpdG9yX2lkIjoiMjI4MzA0Njk5OTYyNzYxMjc2MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0cf5f130267713ee89596a227008a73f78f3c594a6dd7aa31a4665402b924f68 |
| hovercard-subject-tag | issue:207830862 |
| 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/matplotlib/matplotlib/8079/issue_layout |
| twitter:image | https://opengraph.githubassets.com/11ac7f10201e55b6acfe671c83d122b861dcb9688e7e7dc5878a0f14f6843ec7/matplotlib/matplotlib/issues/8079 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/11ac7f10201e55b6acfe671c83d122b861dcb9688e7e7dc5878a0f14f6843ec7/matplotlib/matplotlib/issues/8079 |
| og:image:alt | Hi, That's not a bug per say, but I noticed a strong inconsistency in the codebase between strings with simple and double quotes. For instance, see that line (def hist in _axes.py): @_preprocess_da... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Naereen |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width