Skip to content

Commit

Permalink
plot formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
songololo committed Aug 4, 2022
1 parent c69efcb commit 5f74194
Show file tree
Hide file tree
Showing 24 changed files with 839 additions and 796 deletions.
3 changes: 2 additions & 1 deletion demos/general_util/plot_funcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ def plot_scatter(
s_exp: float = 1,
cmap_key: str = "Reds",
rasterized: bool = True,
face_colour: str = "white",
):
""" """
# get extents relative to centre and ax size
Expand Down Expand Up @@ -60,7 +61,7 @@ def plot_scatter(
ax.set_xticks([])
ax.set_yticks([])
ax.set_aspect(1)
ax.set_facecolor("white")
ax.set_facecolor(face_colour)

return im

Expand Down
3 changes: 3 additions & 0 deletions docs/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,7 @@ export default defineConfig({
}),
sitemap(),
],
legacy: {
astroFlavoredMarkdown: true,
}
})
29 changes: 15 additions & 14 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,35 +8,36 @@
},
"dependencies": {
"@vicons/fa": "0.12.0",
"@vueuse/core": "8.9.4",
"@vueuse/core": "9.1.0",
"animejs": "3.2.1",
"date-fns": "2.29.1",
"url-slug": "3.0.4"
},
"devDependencies": {
"@astrojs/markdown-remark": "^0.12.0",
"@astrojs/sitemap": "^0.2.6",
"@astrojs/tailwind": "^0.2.4",
"@astrojs/vue": "^0.4.1",
"@astrojs/markdown-component": "^0.2.1",
"@astrojs/markdown-remark": "^0.14.0",
"@astrojs/sitemap": "^0.3.0",
"@astrojs/tailwind": "^0.2.5",
"@astrojs/vue": "^0.5.0",
"@fec/remark-a11y-emoji": "3.1.0",
"@prettier/plugin-pug": "2.1.1",
"@prettier/plugin-pug": "2.2.0",
"@vitejs/plugin-vue": "^3.0.1",
"astro": "1.0.0-beta.73",
"autoprefixer": "10.4.7",
"eslint": "8.20.0",
"astro": "1.0.0-rc.6",
"autoprefixer": "10.4.8",
"eslint": "8.21.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-vue": "9.2.0",
"eslint-plugin-vue": "9.3.0",
"github-slugger": "^1.4.0",
"hastscript": "7.0.2",
"postcss": "8.4.14",
"postcss-html": "1.5.0",
"postcss-import": "14.1.0",
"postcss-markdown": "1.2.0",
"prettier": "2.7.1",
"prettier-plugin-astro": "0.1.2",
"prettier-plugin-tailwindcss": "^0.1.12",
"prettier-plugin-astro": "0.3.0",
"prettier-plugin-tailwindcss": "^0.1.13",
"pug": "3.0.2",
"pug-plain-loader": "1.1.0",
"rehype-autolink-headings": "6.1.1",
Expand All @@ -54,9 +55,9 @@
"stylelint-config-prettier": "9.0.3",
"stylelint-config-recommended-vue": "1.4.0",
"stylelint-prettier": "2.0.0",
"tailwindcss": "3.1.6",
"tailwindcss": "3.1.7",
"unist-util-visit": "^4.1.0",
"vite": "^3.0.2",
"vite": "^3.0.4",
"vue": "^3.2.37"
}
}
Loading

0 comments on commit 5f74194

Please sign in to comment.