Skip to content

Commit

Permalink
Fix heatmap plotting bug (#470)
Browse files Browse the repository at this point in the history
* Fix heatmap plotting bug

I ran into an odd bug while prepping to teach this workshop last week. With the current workshop environment running on Windows 10, I ran into this issue: https://stackoverflow.com/questions/77165100/only-the-first-row-of-annotations-displayed-on-seaborn-heatmap

Updating both matplotlib and seaborn seemed to resolve the issue:
`pip install seaborn --upgrade`
`pip install matplotlib --upgrade`

I propose we add these pip statements to the setup instructions.

* Update learners/setup.md

Co-authored-by: Sven van der Burg <[email protected]>

* Update learners/setup.md

---------

Co-authored-by: Sven van der Burg <[email protected]>
  • Loading branch information
qualiaMachine and svenvanderburg authored Jun 11, 2024
1 parent 56e7903 commit d47a272
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions learners/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,29 +83,26 @@ If you run into any difficulties, please request help before the workshop begins

[Conda](https://docs.conda.io/projects/conda/en/latest/) is the package management system associated with [Anaconda](https://anaconda.org) and runs on Windows, macOS and Linux.
Conda should already be available in your system once you installed Anaconda successfully. Conda thus works regardless of the operating system.
Make sure you have an up-to-date version of Conda running.

1. Make sure you have an up-to-date version of Conda running.
See [these instructions](https://docs.anaconda.com/anaconda/install/update-version/) for updating Conda if required.
{: .callout}

To create a conda environment called `dl_workshop` with the required packages, open a terminal (Mac/Linux) or Anaconda prompt (Windows) and type the command:
2. To create a conda environment called `dl_workshop` with the required packages, open a terminal (Mac/Linux) or Anaconda prompt (Windows) and type the command:
```bash
conda create --name dl_workshop python jupyter seaborn scikit-learn pandas
conda create --name dl_workshop python jupyter 'seaborn>=13.0.0' scikit-learn pandas
```

Activate the newly created environment:
3. Activate the newly created environment:
```
conda activate dl_workshop
```

Install tensorflow using pip (python's package manager):
4. After activating your environment, install tensorflow using pip (python's package manager):
```bash
pip install tensorflow
```
Note that modern versions of Tensorflow make Keras available as a module.
[pip](https://pip.pypa.io/en/stable/) is the package management system for Python software packages.
It is integrated into your local Python installation and runs regardless of your operating system too.
Note that modern versions of Tensorflow make Keras available as a module. [pip](https://pip.pypa.io/en/stable/) is the package management system for Python software packages. It is integrated into your local Python installation and runs regardless of your operating system too.
::::::::::::::::::::::::::::::::::::::: discussion
Expand Down

0 comments on commit d47a272

Please sign in to comment.