manzhaoAmanda / github-slideshow

A robot powered training repository :robot:
https://lab.github.com/githubtraining/introduction-to-github
MIT License
0 stars 0 forks source link

AttributeError: 'FileDataset' object has no attribute 'pixel_arry' #2

Open manzhaoAmanda opened 3 years ago

manzhaoAmanda commented 3 years ago

from matplotlib import pyplot

pyplot.imshow(ds.pixel_arry,cmap = pyplot.cm.bone) Traceback (most recent call last):

File "", line 1, in pyplot.imshow(ds.pixel_arry,cmap = pyplot.cm.bone)

File "F:\Anaconda\lib\site-packages\pydicom\dataset.py", line 783, in getattr return object.getattribute(self, name)

AttributeError: 'FileDataset' object has no attribute 'pixel_arry' why and how i can resolve this problem?thank you!

github-learning-lab[bot] commented 3 years ago

Step 2: Turn on GitHub Pages

:tada: You're now the proud manager of this issue! Now that you've assigned yourself, people who drop by know that they're welcome to participate, but you'll be carrying this issue across the finish line. :sunglasses:.

Let's use GitHub Pages

Now, on to business! GitHub Pages allow you to serve a static site from a repository. We've filled this repository with some site content, but the rendered site isn't visible right now. Let's change that.

:keyboard: Activity: Enable GitHub Pages

  1. Click on the Settings tab in this repository
  2. Scroll down to the "GitHub Pages" section
  3. From the "Source" drop down, select main branch

Note: Even though you'll see an option to choose a theme, do not apply a theme at this point. We've protected the code so you can't make unintended changes. You'll have the opportunity to apply a theme when the course is completed.


I'll respond in this issue when I detect GitHub Pages has deployed your site.

Turning on GitHub Pages creates a deployment of your repository. I may take up to a minute to respond as I await the deployment.