BioLizardStylePython 0.1.0__tar.gz → 0.2.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. {biolizardstylepython-0.1.0 → biolizardstylepython-0.2.0}/.gitignore +16 -12
  2. biolizardstylepython-0.2.0/CHANGELOG.md +30 -0
  3. {biolizardstylepython-0.1.0 → biolizardstylepython-0.2.0}/LICENSE +21 -21
  4. biolizardstylepython-0.2.0/PKG-INFO +69 -0
  5. biolizardstylepython-0.2.0/README.md +50 -0
  6. biolizardstylepython-0.2.0/docs/An_Iris_Plot.pdf +0 -0
  7. biolizardstylepython-0.2.0/docs/Makefile +20 -0
  8. biolizardstylepython-0.2.0/docs/_build/doctrees/environment.pickle +0 -0
  9. biolizardstylepython-0.2.0/docs/_build/doctrees/example.doctree +0 -0
  10. biolizardstylepython-0.2.0/docs/_build/doctrees/index.doctree +0 -0
  11. biolizardstylepython-0.2.0/docs/_build/html/.buildinfo +4 -0
  12. biolizardstylepython-0.2.0/docs/_build/html/_images/0b62c5d77832e640292907e786b9e94a81637b91291dfb320c90506892318d07.png +0 -0
  13. biolizardstylepython-0.2.0/docs/_build/html/_images/19308f5bdbc9e63735bdbdb049919fec4293ede53e5dfc1f32afd55501923b38.png +0 -0
  14. biolizardstylepython-0.2.0/docs/_build/html/_images/2147426cd8cb9356b1f20f52b821c3b9f9567b6c809d01005a168570ade96178.png +0 -0
  15. biolizardstylepython-0.2.0/docs/_build/html/_images/333c2671c9a22cd7206e31154806dce3965dd8db2564c3797698dea05494befb.png +0 -0
  16. biolizardstylepython-0.2.0/docs/_build/html/_images/33bf448d38c18d5aef32e418d40c5ceafce7090c5f21ee87ee4632790d64e991.png +0 -0
  17. biolizardstylepython-0.2.0/docs/_build/html/_images/37f906bbf66861e679185b6a16ecf57474a2df12e1e79a7e39a30ba05bb4d910.png +0 -0
  18. biolizardstylepython-0.2.0/docs/_build/html/_images/42347cb44762cf256eab64bef7799ac910a925808bcb68d2a0b1da40d9fd6b44.png +0 -0
  19. biolizardstylepython-0.2.0/docs/_build/html/_images/498a0750907b8420a4f68866aa2431ea84b991d0426e5c70c3cd2d459c98c6ac.png +0 -0
  20. biolizardstylepython-0.2.0/docs/_build/html/_images/5196919949527e58e158422dd3aac6b970c50bb378a1e7498c0435a536339b6a.png +0 -0
  21. biolizardstylepython-0.2.0/docs/_build/html/_images/5346d1f8a5ddaa1e3053a224d6d4f64671b2f8fa0b4279b4e51b3268214ada54.png +0 -0
  22. biolizardstylepython-0.2.0/docs/_build/html/_images/6667099494a9e2a8781deb2699c2d588b6b34cc6d562aadbcbd1a8998b87a2b4.png +0 -0
  23. biolizardstylepython-0.2.0/docs/_build/html/_images/6c4670c6cc47869a1b1bdd06a0dbb63d14cde8b230382bee7dbf249322dce7da.png +0 -0
  24. biolizardstylepython-0.2.0/docs/_build/html/_images/a64cfc2da9d7de9a042d16e0d7c3bd280dc9de9c282d38fcfa7d00365c5e0c5e.png +0 -0
  25. biolizardstylepython-0.2.0/docs/_build/html/_images/b8ca0027099c5da56fedc334a1f73357da86c9d46cf062dcc9ca95128c3235bd.png +0 -0
  26. biolizardstylepython-0.2.0/docs/_build/html/_images/be891a2e155538d052ab0f79b67d1f78e9f1afa88f2f2bd049bbbf21b2ac334f.png +0 -0
  27. biolizardstylepython-0.2.0/docs/_build/html/_images/c95df1ae33d8434db90767ea013463cceaff120ebd5a4b31656e3b3c7bc54b68.png +0 -0
  28. biolizardstylepython-0.2.0/docs/_build/html/_images/e0eb9efbbb5d6c2edfa6e2e5eae32a1095e863a1e7ea7882ab17bc688ead946a.png +0 -0
  29. biolizardstylepython-0.2.0/docs/_build/html/_images/e4d4d95c9b8c8eebb77f7f7bc9a2e9a3a7fbfdf094d7369e155a4ca19f5dc640.png +0 -0
  30. biolizardstylepython-0.2.0/docs/_build/html/_images/ee4d9b21369f8f804d953b040ea44e26df1667d24a7e172d43dce6bcdba29a4c.png +0 -0
  31. biolizardstylepython-0.2.0/docs/_build/html/_sources/example.ipynb.txt +618 -0
  32. biolizardstylepython-0.2.0/docs/_build/html/_sources/index.md.txt +9 -0
  33. biolizardstylepython-0.2.0/docs/_build/html/_static/_sphinx_javascript_frameworks_compat.js +123 -0
  34. biolizardstylepython-0.2.0/docs/_build/html/_static/basic.css +925 -0
  35. biolizardstylepython-0.2.0/docs/_build/html/_static/css/badge_only.css +1 -0
  36. biolizardstylepython-0.2.0/docs/_build/html/_static/css/fonts/Roboto-Slab-Bold.woff +0 -0
  37. biolizardstylepython-0.2.0/docs/_build/html/_static/css/fonts/Roboto-Slab-Bold.woff2 +0 -0
  38. biolizardstylepython-0.2.0/docs/_build/html/_static/css/fonts/Roboto-Slab-Regular.woff +0 -0
  39. biolizardstylepython-0.2.0/docs/_build/html/_static/css/fonts/Roboto-Slab-Regular.woff2 +0 -0
  40. biolizardstylepython-0.2.0/docs/_build/html/_static/css/fonts/fontawesome-webfont.eot +0 -0
  41. biolizardstylepython-0.2.0/docs/_build/html/_static/css/fonts/fontawesome-webfont.svg +2671 -0
  42. biolizardstylepython-0.2.0/docs/_build/html/_static/css/fonts/fontawesome-webfont.ttf +0 -0
  43. biolizardstylepython-0.2.0/docs/_build/html/_static/css/fonts/fontawesome-webfont.woff +0 -0
  44. biolizardstylepython-0.2.0/docs/_build/html/_static/css/fonts/fontawesome-webfont.woff2 +0 -0
  45. biolizardstylepython-0.2.0/docs/_build/html/_static/css/fonts/lato-bold-italic.woff +0 -0
  46. biolizardstylepython-0.2.0/docs/_build/html/_static/css/fonts/lato-bold-italic.woff2 +0 -0
  47. biolizardstylepython-0.2.0/docs/_build/html/_static/css/fonts/lato-bold.woff +0 -0
  48. biolizardstylepython-0.2.0/docs/_build/html/_static/css/fonts/lato-bold.woff2 +0 -0
  49. biolizardstylepython-0.2.0/docs/_build/html/_static/css/fonts/lato-normal-italic.woff +0 -0
  50. biolizardstylepython-0.2.0/docs/_build/html/_static/css/fonts/lato-normal-italic.woff2 +0 -0
  51. biolizardstylepython-0.2.0/docs/_build/html/_static/css/fonts/lato-normal.woff +0 -0
  52. biolizardstylepython-0.2.0/docs/_build/html/_static/css/fonts/lato-normal.woff2 +0 -0
  53. biolizardstylepython-0.2.0/docs/_build/html/_static/css/theme.css +4 -0
  54. biolizardstylepython-0.2.0/docs/_build/html/_static/doctools.js +156 -0
  55. biolizardstylepython-0.2.0/docs/_build/html/_static/documentation_options.js +13 -0
  56. biolizardstylepython-0.2.0/docs/_build/html/_static/file.png +0 -0
  57. biolizardstylepython-0.2.0/docs/_build/html/_static/jquery.js +2 -0
  58. biolizardstylepython-0.2.0/docs/_build/html/_static/js/badge_only.js +1 -0
  59. biolizardstylepython-0.2.0/docs/_build/html/_static/js/html5shiv-printshiv.min.js +4 -0
  60. biolizardstylepython-0.2.0/docs/_build/html/_static/js/html5shiv.min.js +4 -0
  61. biolizardstylepython-0.2.0/docs/_build/html/_static/js/theme.js +1 -0
  62. biolizardstylepython-0.2.0/docs/_build/html/_static/language_data.js +199 -0
  63. biolizardstylepython-0.2.0/docs/_build/html/_static/minus.png +0 -0
  64. biolizardstylepython-0.2.0/docs/_build/html/_static/mystnb.4510f1fc1dee50b3e5859aac5469c37c29e427902b24a333a5f9fcb2f0b3ac41.css +2342 -0
  65. biolizardstylepython-0.2.0/docs/_build/html/_static/plus.png +0 -0
  66. biolizardstylepython-0.2.0/docs/_build/html/_static/pygments.css +75 -0
  67. biolizardstylepython-0.2.0/docs/_build/html/_static/searchtools.js +574 -0
  68. biolizardstylepython-0.2.0/docs/_build/html/_static/sphinx_highlight.js +154 -0
  69. biolizardstylepython-0.2.0/docs/_build/html/example.html +463 -0
  70. biolizardstylepython-0.2.0/docs/_build/html/genindex.html +107 -0
  71. biolizardstylepython-0.2.0/docs/_build/html/index.html +160 -0
  72. biolizardstylepython-0.2.0/docs/_build/html/objects.inv +0 -0
  73. biolizardstylepython-0.2.0/docs/_build/html/search.html +122 -0
  74. biolizardstylepython-0.2.0/docs/_build/html/searchindex.js +1 -0
  75. biolizardstylepython-0.2.0/docs/_build/jupyter_execute/0b62c5d77832e640292907e786b9e94a81637b91291dfb320c90506892318d07.png +0 -0
  76. biolizardstylepython-0.2.0/docs/_build/jupyter_execute/19308f5bdbc9e63735bdbdb049919fec4293ede53e5dfc1f32afd55501923b38.png +0 -0
  77. biolizardstylepython-0.2.0/docs/_build/jupyter_execute/2147426cd8cb9356b1f20f52b821c3b9f9567b6c809d01005a168570ade96178.png +0 -0
  78. biolizardstylepython-0.2.0/docs/_build/jupyter_execute/333c2671c9a22cd7206e31154806dce3965dd8db2564c3797698dea05494befb.png +0 -0
  79. biolizardstylepython-0.2.0/docs/_build/jupyter_execute/33bf448d38c18d5aef32e418d40c5ceafce7090c5f21ee87ee4632790d64e991.png +0 -0
  80. biolizardstylepython-0.2.0/docs/_build/jupyter_execute/37f906bbf66861e679185b6a16ecf57474a2df12e1e79a7e39a30ba05bb4d910.png +0 -0
  81. biolizardstylepython-0.2.0/docs/_build/jupyter_execute/42347cb44762cf256eab64bef7799ac910a925808bcb68d2a0b1da40d9fd6b44.png +0 -0
  82. biolizardstylepython-0.2.0/docs/_build/jupyter_execute/498a0750907b8420a4f68866aa2431ea84b991d0426e5c70c3cd2d459c98c6ac.png +0 -0
  83. biolizardstylepython-0.2.0/docs/_build/jupyter_execute/5196919949527e58e158422dd3aac6b970c50bb378a1e7498c0435a536339b6a.png +0 -0
  84. biolizardstylepython-0.2.0/docs/_build/jupyter_execute/5346d1f8a5ddaa1e3053a224d6d4f64671b2f8fa0b4279b4e51b3268214ada54.png +0 -0
  85. biolizardstylepython-0.2.0/docs/_build/jupyter_execute/6667099494a9e2a8781deb2699c2d588b6b34cc6d562aadbcbd1a8998b87a2b4.png +0 -0
  86. biolizardstylepython-0.2.0/docs/_build/jupyter_execute/6c4670c6cc47869a1b1bdd06a0dbb63d14cde8b230382bee7dbf249322dce7da.png +0 -0
  87. biolizardstylepython-0.2.0/docs/_build/jupyter_execute/a64cfc2da9d7de9a042d16e0d7c3bd280dc9de9c282d38fcfa7d00365c5e0c5e.png +0 -0
  88. biolizardstylepython-0.2.0/docs/_build/jupyter_execute/b8ca0027099c5da56fedc334a1f73357da86c9d46cf062dcc9ca95128c3235bd.png +0 -0
  89. biolizardstylepython-0.2.0/docs/_build/jupyter_execute/be891a2e155538d052ab0f79b67d1f78e9f1afa88f2f2bd049bbbf21b2ac334f.png +0 -0
  90. biolizardstylepython-0.2.0/docs/_build/jupyter_execute/c95df1ae33d8434db90767ea013463cceaff120ebd5a4b31656e3b3c7bc54b68.png +0 -0
  91. biolizardstylepython-0.2.0/docs/_build/jupyter_execute/e0eb9efbbb5d6c2edfa6e2e5eae32a1095e863a1e7ea7882ab17bc688ead946a.png +0 -0
  92. biolizardstylepython-0.2.0/docs/_build/jupyter_execute/e4d4d95c9b8c8eebb77f7f7bc9a2e9a3a7fbfdf094d7369e155a4ca19f5dc640.png +0 -0
  93. biolizardstylepython-0.2.0/docs/_build/jupyter_execute/ee4d9b21369f8f804d953b040ea44e26df1667d24a7e172d43dce6bcdba29a4c.png +0 -0
  94. biolizardstylepython-0.2.0/docs/_build/jupyter_execute/example.ipynb +618 -0
  95. biolizardstylepython-0.2.0/docs/conf.py +34 -0
  96. biolizardstylepython-0.2.0/docs/example.ipynb +803 -0
  97. biolizardstylepython-0.2.0/docs/index.md +9 -0
  98. biolizardstylepython-0.2.0/docs/make.bat +35 -0
  99. {biolizardstylepython-0.1.0 → biolizardstylepython-0.2.0}/pyproject.toml +36 -29
  100. biolizardstylepython-0.2.0/src/BioLizardStylePython/__init__.py +32 -0
  101. {biolizardstylepython-0.1.0 → biolizardstylepython-0.2.0}/src/BioLizardStylePython/lizard_style.mplstyle +3 -7
  102. {biolizardstylepython-0.1.0 → biolizardstylepython-0.2.0}/src/BioLizardStylePython/utils.py +236 -203
  103. biolizardstylepython-0.2.0/tests/baseline_images/test_plots/div_cmapplot.png +0 -0
  104. biolizardstylepython-0.2.0/tests/baseline_images/test_plots/irisplot.png +0 -0
  105. biolizardstylepython-0.2.0/tests/baseline_images/test_plots/irisplot_box.png +0 -0
  106. biolizardstylepython-0.2.0/tests/baseline_images/test_plots/irisplot_dens.png +0 -0
  107. biolizardstylepython-0.2.0/tests/baseline_images/test_plots/lineplot.png +0 -0
  108. biolizardstylepython-0.2.0/tests/baseline_images/test_plots/seq_cmapplot.png +0 -0
  109. biolizardstylepython-0.2.0/tests/test_palettes.py +46 -0
  110. biolizardstylepython-0.2.0/tests/test_plots.py +73 -0
  111. biolizardstylepython-0.1.0/PKG-INFO +0 -15
  112. biolizardstylepython-0.1.0/README.md +0 -0
  113. biolizardstylepython-0.1.0/src/BioLizardStylePython/__init__.py +0 -1
  114. {biolizardstylepython-0.1.0 → biolizardstylepython-0.2.0}/src/BioLizardStylePython/logo/BiolizardLogo.png +0 -0
@@ -1,12 +1,16 @@
1
- .Rhistory
2
- .DS_Store
3
- .Rproj.user
4
- .RData
5
- .Ruserdata
6
- .Rproj.user
7
- BioLizardStyleR/.RData
8
- BioLizardStyleR/.Rhistory
9
- BioLizardStyleR/.Rproj.user
10
- BioLizardStylePython/.idea/*
11
- .idea
12
-
1
+ .Rhistory
2
+ .DS_Store
3
+ .Rproj.user
4
+ .RData
5
+ .Ruserdata
6
+ .Rproj.user
7
+ BioLizardStyleR/.RData
8
+ BioLizardStyleR/.Rhistory
9
+ BioLizardStyleR/.Rproj.user
10
+ BioLizardStylePython/.idea/*
11
+ .idea
12
+
13
+ #pytest and unittest
14
+ .pytest_cache
15
+ __pycache__
16
+ result_images
@@ -0,0 +1,30 @@
1
+ # Changelog
2
+
3
+ <!--next-version-placeholder-->
4
+
5
+ ## v0.2.0 (2024-04-10)
6
+
7
+ ### Feature
8
+
9
+ - Switched from Nunito to Lato font
10
+ - Automated clearing of matplotlib cache upon loading the module
11
+ - Added infromative error messages in case colorspace or lato are not installed
12
+
13
+
14
+ ### Fix
15
+
16
+ - fix bug in discrete qualitative fill scale
17
+ - update default lizard_style colorscale to show colors in teh same ortder as discrete palette
18
+
19
+
20
+ ### Tests
21
+
22
+ - Added new tests to all package modules
23
+
24
+ ### Documentation
25
+
26
+ - Added readme and usage examples
27
+
28
+ ## v0.1.0 (2023-09-08)
29
+
30
+ - First release of `BioLizardStylePython`
@@ -1,22 +1,22 @@
1
- Copyright (c) 2023 BioLizard
2
-
3
- Permission is hereby granted, free of charge, to any person
4
- obtaining a copy of this software and associated documentation
5
- files (the "Software"), to deal in the Software without
6
- restriction, including without limitation the rights to use,
7
- copy, modify, merge, publish, distribute, sublicense, and/or sell
8
- copies of the Software, and to permit persons to whom the
9
- Software is furnished to do so, subject to the following
10
- conditions:
11
-
12
- The above copyright notice and this permission notice shall be
13
- included in all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
17
- OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19
- HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20
- WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21
- FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
1
+ Copyright (c) 2023 BioLizard
2
+
3
+ Permission is hereby granted, free of charge, to any person
4
+ obtaining a copy of this software and associated documentation
5
+ files (the "Software"), to deal in the Software without
6
+ restriction, including without limitation the rights to use,
7
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ copies of the Software, and to permit persons to whom the
9
+ Software is furnished to do so, subject to the following
10
+ conditions:
11
+
12
+ The above copyright notice and this permission notice shall be
13
+ included in all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
17
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22
22
  OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,69 @@
1
+ Metadata-Version: 2.3
2
+ Name: BioLizardStylePython
3
+ Version: 0.2.0
4
+ Summary: Enhance plots with the signature Biolizard aesthetic for matplotlib and seaborn.
5
+ Project-URL: Homepage, https://github.com/lizard-bio/nature-grade-visualization-playground/tree/main
6
+ Author: Robbe Neirynck
7
+ Author-email: BioLizard <contact@lizard.bio>, Aniko Meijer <aniko.meijer@lizard.bio>
8
+ Maintainer-email: Alexander Koch <alexander.koch@lizard.bio>, Aniko Meijer <aniko.meijer@lizard.bio>
9
+ License-File: LICENSE
10
+ Classifier: License :: OSI Approved :: MIT License
11
+ Classifier: Operating System :: OS Independent
12
+ Classifier: Programming Language :: Python :: 3
13
+ Requires-Python: >=3.9
14
+ Requires-Dist: font-lato>=0.0.1
15
+ Requires-Dist: fonts>=0.0.3
16
+ Requires-Dist: matplotlib>=3.7.1
17
+ Requires-Dist: pillow>=9.4.0
18
+ Description-Content-Type: text/markdown
19
+
20
+ # BioLizardStylePython
21
+
22
+ Enhance plots with the signature Biolizard aesthetic for matplotlib and seaborn.
23
+
24
+ ## install
25
+
26
+ ### 1. Extra requirements
27
+ `BioLizardStylePython` relies on the colorspace package, which is not available on the Python Package Index (PyPI). However, it is hosted on GitHub and needs to be installed directly from there. To install the `colorspace` package, please run the following command in your terminal:
28
+ ```
29
+ pip install git+https://github.com/retostauffer/python-colorspace.git
30
+ ```
31
+ Once you've successfully installed `colorspace`, you can proceed with the installation and usage of `BioLizardStylePython`.
32
+
33
+ ### 2. Package Installation
34
+
35
+ The BioLizardStylePython package is available on PyPI and can be easily installed using:
36
+ ```
37
+ pip install BioLizardStylePython
38
+ ```
39
+
40
+ ### 3. Font Installation
41
+
42
+ The BioLizardStyleR package makes use of the signature BioLizard font 'Lato'. This font can be found on Google Fonts under an open font license.
43
+
44
+ If you don't have the Lato font locally installed, you can download and install it from GitHub.
45
+
46
+ 1. **Download Fonts**: Download the two font files from the GitHub repository [Nature Grade Visualization Playground](https://github.com/lizard-bio/nature-grade-visualization-playground/tree/main).
47
+ 2. **Install Fonts**: Install the downloaded fonts on your system.
48
+ 3. **Complete**: Once the installation is done, you're all set to use the font.
49
+
50
+ ## usage
51
+
52
+ ### 1. Styling Function: `lizard_style()`
53
+
54
+ This function applies a BioLizard aesthetic to your matplotlib or seaborn plots. The aim is to ensure that plots maintain a uniform look, irrespective of whether they were made in R or Python.
55
+
56
+ ### 2. BioLizard Color Palettes
57
+
58
+ These are qualitative, sequential, and divergent color maps that can be applied to your plots. The palettes are designed using BioLizard's house colors, keeping perceptual uniformity and color-blind friendliness in mind. For more information, consult the help documentation specific to each function.
59
+
60
+ ### 3. Finalizing and Exporting Plots: `finalise_lizardplot()`
61
+
62
+ This function adds a BioLizard footer beneath your graph and exports it to a specified format such as PNG or PDF. The footer includes the BioLizard logo at the bottom right corner and leaves room for source text.
63
+
64
+ ## Contributing and Feedback
65
+
66
+ Contributions and feedback are very welcome and much appreciated.
67
+
68
+ Issues can be reported [on github](https://github.com/lizard-bio/nature-grade-visualization-playground/issues).
69
+
@@ -0,0 +1,50 @@
1
+ # BioLizardStylePython
2
+
3
+ Enhance plots with the signature Biolizard aesthetic for matplotlib and seaborn.
4
+
5
+ ## install
6
+
7
+ ### 1. Extra requirements
8
+ `BioLizardStylePython` relies on the colorspace package, which is not available on the Python Package Index (PyPI). However, it is hosted on GitHub and needs to be installed directly from there. To install the `colorspace` package, please run the following command in your terminal:
9
+ ```
10
+ pip install git+https://github.com/retostauffer/python-colorspace.git
11
+ ```
12
+ Once you've successfully installed `colorspace`, you can proceed with the installation and usage of `BioLizardStylePython`.
13
+
14
+ ### 2. Package Installation
15
+
16
+ The BioLizardStylePython package is available on PyPI and can be easily installed using:
17
+ ```
18
+ pip install BioLizardStylePython
19
+ ```
20
+
21
+ ### 3. Font Installation
22
+
23
+ The BioLizardStyleR package makes use of the signature BioLizard font 'Lato'. This font can be found on Google Fonts under an open font license.
24
+
25
+ If you don't have the Lato font locally installed, you can download and install it from GitHub.
26
+
27
+ 1. **Download Fonts**: Download the two font files from the GitHub repository [Nature Grade Visualization Playground](https://github.com/lizard-bio/nature-grade-visualization-playground/tree/main).
28
+ 2. **Install Fonts**: Install the downloaded fonts on your system.
29
+ 3. **Complete**: Once the installation is done, you're all set to use the font.
30
+
31
+ ## usage
32
+
33
+ ### 1. Styling Function: `lizard_style()`
34
+
35
+ This function applies a BioLizard aesthetic to your matplotlib or seaborn plots. The aim is to ensure that plots maintain a uniform look, irrespective of whether they were made in R or Python.
36
+
37
+ ### 2. BioLizard Color Palettes
38
+
39
+ These are qualitative, sequential, and divergent color maps that can be applied to your plots. The palettes are designed using BioLizard's house colors, keeping perceptual uniformity and color-blind friendliness in mind. For more information, consult the help documentation specific to each function.
40
+
41
+ ### 3. Finalizing and Exporting Plots: `finalise_lizardplot()`
42
+
43
+ This function adds a BioLizard footer beneath your graph and exports it to a specified format such as PNG or PDF. The footer includes the BioLizard logo at the bottom right corner and leaves room for source text.
44
+
45
+ ## Contributing and Feedback
46
+
47
+ Contributions and feedback are very welcome and much appreciated.
48
+
49
+ Issues can be reported [on github](https://github.com/lizard-bio/nature-grade-visualization-playground/issues).
50
+
@@ -0,0 +1,20 @@
1
+ # Minimal makefile for Sphinx documentation
2
+ #
3
+
4
+ # You can set these variables from the command line, and also
5
+ # from the environment for the first two.
6
+ SPHINXOPTS ?=
7
+ SPHINXBUILD ?= sphinx-build
8
+ SOURCEDIR = .
9
+ BUILDDIR = _build
10
+
11
+ # Put it first so that "make" without argument is like "make help".
12
+ help:
13
+ @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
14
+
15
+ .PHONY: help Makefile
16
+
17
+ # Catch-all target: route all unknown targets to Sphinx using the new
18
+ # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
19
+ %: Makefile
20
+ @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
@@ -0,0 +1,4 @@
1
+ # Sphinx build info version 1
2
+ # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3
+ config: 54eda93c4de205dc457ab623e162c12e
4
+ tags: 645f666f9bcd5a90fca523b33c5a78b7