Title: Additional settings for plot_surface. by mdaley · Pull Request #184 · lava/matplotlib-cpp · GitHub
Open Graph Title: Additional settings for plot_surface. by mdaley · Pull Request #184 · lava/matplotlib-cpp
X Title: Additional settings for plot_surface. by mdaley · Pull Request #184 · lava/matplotlib-cpp
Description: I wanted to be able to do more with the surface plot. What I've done here is add the ability to set different types of settings - boolean, float, int, string - as the additional arguments for the surface plot. So, this allows you to do things like:
set any color map for the surface,
set the cstride and rstride (i.e. the size of the segments of the surface)
set line width, type and color for those segments
set transparency for the surface
set other things (whatever they are as long as they are of the types I've implemented so far).
The things that can now be set I removed from being hardcoded in the code.
An example of what can now be done is:
map
Open Graph Description: I wanted to be able to do more with the surface plot. What I've done here is add the ability to set different types of settings - boolean, float, int, string - as the additional arguments for ...
X Description: I wanted to be able to do more with the surface plot. What I've done here is add the ability to set different types of settings - boolean, float, int, string - as the additional arguments ...
Opengraph URL: https://github.com/lava/matplotlib-cpp/pull/184
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:e98a5af4-4771-6573-eac7-2dce38bf4e74 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A1F0:241CE0:747E0:9D4E6:6A5B3F03 |
| html-safe-nonce | 550924cdeec4849ed283d0b796176075df4fa5d5f13da91275e844f16e541637 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMUYwOjI0MUNFMDo3NDdFMDo5RDRFNjo2QTVCM0YwMyIsInZpc2l0b3JfaWQiOiIzNzYyNTAwMzQyMTcwNDY4MDk5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b261667042ef3188d1428d47f18e86703b84361096b911b281c4758c3c3c86b3 |
| hovercard-subject-tag | pull_request:410193626 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/lava/matplotlib-cpp/pull/184/files |
| twitter:image | https://avatars.githubusercontent.com/u/856081?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/856081?s=400&v=4 |
| og:image:alt | I wanted to be able to do more with the surface plot. What I've done here is add the ability to set different types of settings - boolean, float, int, string - as the additional arguments for ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/lava/matplotlib-cpp git https://github.com/lava/matplotlib-cpp.git |
| octolytics-dimension-user_id | 51410 |
| octolytics-dimension-user_login | lava |
| octolytics-dimension-repository_id | 24936365 |
| octolytics-dimension-repository_nwo | lava/matplotlib-cpp |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24936365 |
| octolytics-dimension-repository_network_root_nwo | lava/matplotlib-cpp |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width