Title: a problem to run demo · Issue #23 · stonerlab/Stoner-PythonCode · GitHub
Open Graph Title: a problem to run demo · Issue #23 · stonerlab/Stoner-PythonCode
X Title: a problem to run demo · Issue #23 · stonerlab/Stoner-PythonCode
Description: Hello, I ran the demo given in the documentation (plz see the enclosed code) but gave me the following error msg ImportError: cannot import name 'viewer' from 'skimage' (D:\Miniconda3\envs\gnome\lib\site-packages\skimage_init_.py) ######...
Open Graph Description: Hello, I ran the demo given in the documentation (plz see the enclosed code) but gave me the following error msg ImportError: cannot import name 'viewer' from 'skimage' (D:\Miniconda3\envs\gnome\li...
X Description: Hello, I ran the demo given in the documentation (plz see the enclosed code) but gave me the following error msg ImportError: cannot import name 'viewer' from 'skimage' (D:\Minicond...
Opengraph URL: https://github.com/stonerlab/Stoner-PythonCode/issues/23
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"a problem to run demo","articleBody":"Hello, I ran the demo given in the documentation (plz see the enclosed code) but gave me the following error msg\r\nImportError: cannot import name 'viewer' from 'skimage' (D:\\Miniconda3\\envs\\gnome\\lib\\site-packages\\skimage\\__init__.py)\r\n\r\n###################################################################################\r\n\"\"\"3D surface plot example.\"\"\"\r\nimport numpy as np\r\nimport matplotlib.cm\r\n\r\nfrom Stoner import Data\r\n\r\nx, y, z = np.meshgrid(\r\n np.linspace(-2, 2, 21), np.linspace(-2, 2, 21), np.linspace(-2, 2, 21)\r\n)\r\nx = x.ravel()\r\ny = y.ravel()\r\nz = z.ravel()\r\nu = np.sin(x * y * z)\r\n\r\np = Data(x, y, z, u, setas=\"xyzu\", column_headers=[\"X\", \"Y\", \"Z\"])\r\n\r\np.plot_voxels(cmap=matplotlib.cm.jet, visible=lambda x, y, z: x - y + z \u003c 2.0)\r\np.title = \"Voxel plot\"\r\n","author":{"url":"https://github.com/lindbergh153","@type":"Person","name":"lindbergh153"},"datePublished":"2023-03-22T21:09:47.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/23/Stoner-PythonCode/issues/23"}
| 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:fd823ffd-18f9-6e89-493d-3ab3dadd0aa8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E944:19FC11:243141D:308B9DD:698DA5F0 |
| html-safe-nonce | 64444cc08f196ccfbe084680d478627d009e4b41df20d215326e9dae14fefc0c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTQ0OjE5RkMxMToyNDMxNDFEOjMwOEI5REQ6Njk4REE1RjAiLCJ2aXNpdG9yX2lkIjoiMTkwMzgwNzI3ODgzMTEzOTY4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 87824440b72f7496a55185edee79d23414dfa4fb1add3d849d68841ef00b4cf3 |
| hovercard-subject-tag | issue:1636500422 |
| 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/stonerlab/Stoner-PythonCode/23/issue_layout |
| twitter:image | https://opengraph.githubassets.com/46c4ab67f633a04499ae7d66a289c8241df8cf8c93d0afaee1c8e92b63c4c9af/stonerlab/Stoner-PythonCode/issues/23 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/46c4ab67f633a04499ae7d66a289c8241df8cf8c93d0afaee1c8e92b63c4c9af/stonerlab/Stoner-PythonCode/issues/23 |
| og:image:alt | Hello, I ran the demo given in the documentation (plz see the enclosed code) but gave me the following error msg ImportError: cannot import name 'viewer' from 'skimage' (D:\Miniconda3\envs\gnome\li... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lindbergh153 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 8c7947c0c592efeab6162b9909ad11fa43bff8b0cb5ff43273dc25e41979d43e |
| turbo-cache-control | no-preview |
| go-import | github.com/stonerlab/Stoner-PythonCode git https://github.com/stonerlab/Stoner-PythonCode.git |
| octolytics-dimension-user_id | 53544403 |
| octolytics-dimension-user_login | stonerlab |
| octolytics-dimension-repository_id | 10057055 |
| octolytics-dimension-repository_nwo | stonerlab/Stoner-PythonCode |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 10057055 |
| octolytics-dimension-repository_network_root_nwo | stonerlab/Stoner-PythonCode |
| 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 | 0562b88b05bab6c9b1cf780b4a66b9334b3a602a |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width