Script of ScientificComputing course
This repository has been archived on 2021-05-17. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
2020-12-15 19:12:31 +01:00
announcements added all my stuff 2014-11-12 18:39:02 +01:00
bootstrap [bootstrap] exercises here in chapter 2020-12-15 08:29:29 +01:00
codestyle random fixes and notes 2020-12-13 09:43:44 +01:00
debugging/lecture fixed page breaking of code and exercises 2020-12-11 23:22:40 +01:00
designpattern/lecture fixed page breaking of code and exercises 2020-12-11 23:22:40 +01:00
latex statistics datat types done 2014-10-06 12:46:36 +02:00
likelihood [likelihood] updated exercise infrastructure 2020-12-15 13:56:24 +01:00
linearalgebra [linalg] added solutions to exercise 2019-01-08 14:47:04 +01:00
moduledescription added all my stuff 2014-11-12 18:39:02 +01:00
plotting [programming] updated exercise infrastructure 2020-12-15 19:12:31 +01:00
pointprocesses [pointprocesses] updated exercise infrastructure 2020-12-15 14:02:43 +01:00
programming [programming] updated exercise infrastructure 2020-12-15 19:12:31 +01:00
projects some comments on projects 2020-02-11 18:13:21 +01:00
regression [likelihood] updated exercise infrastructure 2020-12-15 13:56:24 +01:00
replicability/lectures renamed further-topics/ to replicability/ 2020-12-14 10:48:37 +01:00
resources moved Brown paper to resources 2018-10-09 15:37:23 +02:00
simulations [simulations] updated plots 2020-01-14 23:45:18 +01:00
spectral/lecture some notes 2019-12-13 10:09:35 +01:00
spike_trains [pointprocesses] move firing rate exercise to point processes folder 2020-01-17 10:06:05 +01:00
statistics [bootstrap] exercises here in chapter 2020-12-15 08:29:29 +01:00
statistics-fabian change assignment text to german 2015-10-30 18:38:01 +01:00
.gitignore [plotstyle] adjust_fs() function for plot margins as multiples of font size 2020-01-04 12:54:09 +01:00
chapter.mk random fixes and notes 2020-12-13 09:43:44 +01:00
exercises.mk [bootstrap] improved latex and Makefile file structure 2020-12-14 00:05:27 +01:00
exercisesheader.tex [statistics] improved latex and Makefile file structure 2020-12-14 00:17:32 +01:00
exercisestitle.tex [statistics] improved latex and Makefile file structure 2020-12-14 00:17:32 +01:00
header.tex random fixes and notes 2020-12-13 09:43:44 +01:00
Makefile random fixes and notes 2020-12-13 09:43:44 +01:00
plotstyle.py [bootstrap] added difference of mean 2020-12-12 20:34:43 +01:00
README.fonts updated statistics exercise instructions 2020-12-07 19:21:17 +01:00
scientificcomputing-script.tex renamed further-topics/ to replicability/ 2020-12-14 10:48:37 +01:00
slides.mk added slides for bootstrap 2017-01-17 09:59:25 +01:00
UT_WBMW_Rot_RGB.pdf Some makeup everywhere... 2015-11-05 08:52:39 +01:00

Fonts for matplotlib
--------------------

Install Humor Sans font
```
sudo apt install fonts-humor-sans
```

Clear matplotlib font cache:
```
cd ~/.cache/matplotlib/
rm -r *
```

Older problems
--------------

Make sure the right fonts are installed:
```
sudo apt-get install ttf-lyx2.0 
```
There is some conflict with `lyx` fonts, so we first remove them
and remove the matplotlib font cache:
```
sudo dpkg --remove --force-depends fonts-lyx
rm ~/.cache/matplotlib/fontList.cache
# rm ~/.matplotlib/fontList.cache     # older ubuntus
```
Then we need to plot something to recreate the matplotlib font cache:
```
make cleanplots
make plots
```

You should better NOT reinstall
```
sudo apt-get install fonts-lyx 
```
to give back the fonts to lyx.