Skip to content

Commit f0a7bef

Browse files
authored
Merge pull request #2 from highcharts-for-python/develop
Preliminary set of demos
2 parents c783997 + 8a0bf01 commit f0a7bef

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+40795
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ venv/
109109
ENV/
110110
env.bak/
111111
venv.bak/
112+
.py310/
112113

113114
# Spyder project settings
114115
.spyderproject

.pre-commit-config.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
repos:
2+
- repo: local
3+
hooks:
4+
- id: jupyter-nb-clear-output
5+
name: jupyter-nb-clear-output
6+
files: .*/.*/.*\.ipynb
7+
stages: [commit]
8+
language: system
9+
entry: jupyter-nbconvert --ClearOutputPreprocessor.enabled=True --inplace

README.md

Lines changed: 57 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,57 @@
1-
# highcharts-for-python-demos
2-
Collection of demo visualizations using the Highcharts for Python toolkit
1+
# Highcharts for Python Demos
2+
This is a collection of demonstrations of the Highcharts for Python toolkit.
3+
Fundamentally, they are a Python port of the fantastic demos that Highsoft has
4+
already published for their
5+
[Highcharts JavaScript library](https://www.highcharts.com/demo).
6+
7+
## How to Use the Demos
8+
First, clone this Github repo:
9+
10+
```
11+
$ git clone [email protected]:highcharts-for-python/highcharts-for-python-demos.git
12+
```
13+
14+
Next, navigate to its directory:
15+
16+
```
17+
$ cd highcharts-for-python-demos
18+
19+
highcharts-for-python-demos/ (master)
20+
$
21+
````
22+
23+
Create a virtual environment:
24+
25+
```
26+
highcharts-for-python-demos/ (master)
27+
$ python -m venv .venv
28+
```
29+
30+
Then activate your virtual environment:
31+
32+
```
33+
highcharts-for-python-demos/ (master)
34+
$ source .venv/Scripts/activate
35+
36+
(.venv)
37+
highcharts-for-python-demos/ (master)
38+
$
39+
```
40+
41+
and install the requirements:
42+
43+
```
44+
(.venv)
45+
highcharts-for-python-demos/ (master)
46+
$ pip install -r requirements.txt
47+
```
48+
49+
And finally, open up Jupyter Lab:
50+
51+
```
52+
(.venv)
53+
highcharts-for-python-demos/ (master)
54+
$ jupyter-lab
55+
```
56+
57+
You should now see the set of notebooks included in the repo, along with relevant data files and other details. Browse through the repo, and look at the demos that you want to see. It should be fairly self-explanatory!

docs/Makefile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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 commit comments

Comments
 (0)