aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/Untitled.ipynb61
-rw-r--r--examples/paper.mplstyle27
2 files changed, 88 insertions, 0 deletions
diff --git a/examples/Untitled.ipynb b/examples/Untitled.ipynb
new file mode 100644
index 0000000..cf5e123
--- /dev/null
+++ b/examples/Untitled.ipynb
@@ -0,0 +1,61 @@
+{
+ "cells": [
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "%matplotlib inline\n",
+ "%load_ext autoreload\n",
+ "%autoreload 2"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "from __future__ import absolute_import, division, print_function"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# GolemFlavor Basic Example"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "In this example, we will generate a fake measured flavour composition using a multivariate Gaussian distribution"
+ ]
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "Python 3",
+ "language": "python",
+ "name": "python3"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 3
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython3",
+ "version": "3.7.6"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 4
+}
diff --git a/examples/paper.mplstyle b/examples/paper.mplstyle
new file mode 100644
index 0000000..fcfaf31
--- /dev/null
+++ b/examples/paper.mplstyle
@@ -0,0 +1,27 @@
+figure.figsize : 5, 5 # figure size in inches
+savefig.dpi : 600 # figure dots per inch
+
+font.size: 18
+font.family: serif
+font.serif: Computer Modern, Latin Modern Roman, Bitstream Vera Serif
+text.usetex: True
+
+axes.prop_cycle: cycler('color', ['29A2C6','FF6D31','73B66B','EF597B', '333333', 'FFCB18'])
+axes.grid: False
+
+lines.linewidth: 2
+xtick.labelsize: medium
+ytick.labelsize: medium
+xtick.minor.visible: True # visibility of minor ticks on x-axis
+ytick.minor.visible: True # visibility of minor ticks on y-axis
+xtick.major.size: 6 # major tick size in points
+xtick.minor.size: 3 # minor tick size in points
+ytick.major.size: 6 # major tick size in points
+ytick.minor.size: 3 # minor tick size in points
+xtick.major.width: 1
+xtick.minor.width: 1
+ytick.major.width: 1
+ytick.minor.width: 1
+
+legend.frameon: False
+legend.fontsize: 12