Title: Need a way to check if an axis minor or major grid is on · Issue #19021 · matplotlib/matplotlib · GitHub
Open Graph Title: Need a way to check if an axis minor or major grid is on · Issue #19021 · matplotlib/matplotlib
X Title: Need a way to check if an axis minor or major grid is on · Issue #19021 · matplotlib/matplotlib
Description: It appears we have no public interface to check whether the grid is on? Downstream libraries are now replacing the private self.xaxis._gridOnMinor with the private self.xaxis._minor_tick_kw["gridOn"], which seems even worse. Seems we nee...
Open Graph Description: It appears we have no public interface to check whether the grid is on? Downstream libraries are now replacing the private self.xaxis._gridOnMinor with the private self.xaxis._minor_tick_kw["gridOn...
X Description: It appears we have no public interface to check whether the grid is on? Downstream libraries are now replacing the private self.xaxis._gridOnMinor with the private self.xaxis._minor_tick_kw["g...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/19021
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Need a way to check if an axis minor or major grid is on","articleBody":"It appears we have no public interface to check whether the grid is on? Downstream libraries are now replacing the private `self.xaxis._gridOnMinor` with the private `self.xaxis._minor_tick_kw[\"gridOn\"]`, which seems even worse.\r\n\r\nSeems we need `self.xaxis.grid_on(which='minor')` and `self.xaxis.grid_on(which='major')`?\r\n\r\n_Originally posted by @jklymak in https://github.com/matplotlib/matplotlib/issues/18769#issuecomment-734411897_","author":{"url":"https://github.com/jklymak","@type":"Person","name":"jklymak"},"datePublished":"2020-11-26T17:23:27.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/19021/matplotlib/issues/19021"}
| 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:cdc37a1a-8ece-4649-46d7-df5c4b66871f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ABE6:F7027:B44DD9:F57AF9:6A52091F |
| html-safe-nonce | fd2c8d79c8f15800f5aaa6caed2dda8da651459cc5c672ff272e2811959d2745 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQkU2OkY3MDI3OkI0NEREOTpGNTdBRjk6NkE1MjA5MUYiLCJ2aXNpdG9yX2lkIjoiNzEwMjE3OTk3MjgxMTQ1ODg0NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | cb55d5d32c466de4d12e01baa7eae1cd0e4340aba1735a898b2d328f69a5fdbc |
| hovercard-subject-tag | issue:751744443 |
| 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/19021/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e82c0f524b0e2a4dd2a36cb721f1a3ba242a224174250f780e93f7dcbc861ab5/matplotlib/matplotlib/issues/19021 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e82c0f524b0e2a4dd2a36cb721f1a3ba242a224174250f780e93f7dcbc861ab5/matplotlib/matplotlib/issues/19021 |
| og:image:alt | It appears we have no public interface to check whether the grid is on? Downstream libraries are now replacing the private self.xaxis._gridOnMinor with the private self.xaxis._minor_tick_kw["gridOn... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jklymak |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width