Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tutorial section for documentation #6213

Merged
merged 252 commits into from
Feb 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
252 commits
Select commit Hold shift + click to select a range
1f25c04
Convert tutorial notebooks to markdown
philippjfr Jan 16, 2024
809815c
Fix image links
philippjfr Jan 16, 2024
cba07e9
Update links
philippjfr Jan 16, 2024
9c6dae4
make change to enable refactor
MarcSkovMadsen Jan 16, 2024
d2ab6d1
change
MarcSkovMadsen Jan 16, 2024
f51521a
change
MarcSkovMadsen Jan 16, 2024
55bb1ae
Merge branch 'docs_fixes_1.4_a1_review' of https://github.com/holoviz…
MarcSkovMadsen Jan 16, 2024
304cb99
some improvement
MarcSkovMadsen Jan 17, 2024
c38885b
add panel serve section
MarcSkovMadsen Jan 17, 2024
4f6c602
merge with main
MarcSkovMadsen Jan 17, 2024
65ed786
add resource
MarcSkovMadsen Jan 17, 2024
86fba4f
apply feedback from review
MarcSkovMadsen Jan 18, 2024
366f58c
simplify
MarcSkovMadsen Jan 18, 2024
250e7c2
add develop_notebook guide
MarcSkovMadsen Jan 18, 2024
0aa2373
add shift tab
MarcSkovMadsen Jan 18, 2024
764447a
words
MarcSkovMadsen Jan 18, 2024
46cf2a1
make less scary
MarcSkovMadsen Jan 18, 2024
67dd6fb
add tutorial develop in editor
MarcSkovMadsen Jan 18, 2024
0687e12
make more precise
MarcSkovMadsen Jan 18, 2024
91e20de
refactor
MarcSkovMadsen Jan 18, 2024
ea3803a
Merge branch 'main' of https://github.com/holoviz/panel into docs_fix…
MarcSkovMadsen Jan 18, 2024
f68c7d0
add pn.panel tutorial
MarcSkovMadsen Jan 19, 2024
e657f51
add pn.panel tutorial
MarcSkovMadsen Jan 19, 2024
2c2adfa
review changes
MarcSkovMadsen Jan 19, 2024
6355e37
review updates
MarcSkovMadsen Jan 19, 2024
aff2586
add to index
MarcSkovMadsen Jan 19, 2024
211933b
Merge branch 'main' of https://github.com/holoviz/panel into docs_fix…
MarcSkovMadsen Jan 20, 2024
562bbd0
update
MarcSkovMadsen Jan 20, 2024
38a6ab0
fix links
MarcSkovMadsen Jan 20, 2024
bc0feca
add missing code
MarcSkovMadsen Jan 20, 2024
2c544d0
add panel serve notebook
MarcSkovMadsen Jan 20, 2024
60ec4b1
align editor and notebook tutorials
MarcSkovMadsen Jan 20, 2024
bb68edf
align
MarcSkovMadsen Jan 20, 2024
33c4e65
align
MarcSkovMadsen Jan 20, 2024
e5b037b
feedback from usage
MarcSkovMadsen Jan 20, 2024
a8aaa9e
simplify
MarcSkovMadsen Jan 20, 2024
e4955ef
feedback session
MarcSkovMadsen Jan 20, 2024
45d63de
review
MarcSkovMadsen Jan 20, 2024
756dc53
review
MarcSkovMadsen Jan 20, 2024
930ce49
align
MarcSkovMadsen Jan 20, 2024
64aac80
feedback from review
MarcSkovMadsen Jan 20, 2024
78b173c
update links
MarcSkovMadsen Jan 20, 2024
8b1f488
fix admonitions
MarcSkovMadsen Jan 20, 2024
2d57353
update the index
MarcSkovMadsen Jan 20, 2024
2f8ceee
refactor beginner-intermediate
MarcSkovMadsen Jan 20, 2024
3e149a2
refactor
MarcSkovMadsen Jan 20, 2024
e1bf7d0
minor refactor
MarcSkovMadsen Jan 20, 2024
25d483a
improve formulation
MarcSkovMadsen Jan 20, 2024
60d75e3
refactor components
MarcSkovMadsen Jan 20, 2024
60f10f7
rename to basic
Jan 21, 2024
99ec2e8
add Panes tutorial and improve a lot
Jan 21, 2024
ce30a69
simplify and add markdown reference
Jan 21, 2024
06d4b09
feedback from live docs
Jan 21, 2024
4f0c31c
refactorer datastore tutorial
Jan 21, 2024
84de9cb
refactor
Jan 21, 2024
cb986ac
refactor
Jan 21, 2024
03531d6
move develop tutorial
Jan 21, 2024
ad92cd9
minor adjustments
Jan 21, 2024
5d67281
code review
Jan 22, 2024
b6d2d2a
add layout guide
Jan 22, 2024
4c0011f
review and fix
Jan 22, 2024
7100b6f
fix
Jan 22, 2024
a928def
pre-commit
MarcSkovMadsen Jan 22, 2024
68c9460
refactor
Jan 23, 2024
f0375f1
wip
Jan 23, 2024
0b50027
remove outline
Jan 23, 2024
1a30b12
add widgets
Jan 23, 2024
7873ae2
review
Jan 23, 2024
13480d2
Merge branch 'docs_fixes_1.4_a1_review' of https://github.com/holoviz…
Jan 23, 2024
b0e45a4
add chat input tutorial
Jan 23, 2024
09aee32
update
Jan 23, 2024
065af34
small fixes
Jan 23, 2024
081fa1b
implement review feedback
Jan 24, 2024
a817f58
feedback from review
Jan 24, 2024
e394b75
update chat bot
Jan 24, 2024
4799cc3
implement feedback
Jan 24, 2024
8139517
add parts of wind turbine report
Jan 24, 2024
36e725d
small improvements
Jan 24, 2024
54d119e
update resource list
Jan 24, 2024
6daf821
review feedback
Jan 24, 2024
ec48f09
update
Jan 26, 2024
93f277f
fix
Jan 26, 2024
b461c58
add image classifier
Jan 27, 2024
06a7df9
fix
Jan 27, 2024
bb5cb7c
change width/ height
Jan 27, 2024
31d4a58
wip
Jan 27, 2024
cd5079c
reorganize
Jan 28, 2024
547f1ae
update
Jan 28, 2024
28e3d7c
move outline here
Jan 28, 2024
823d3ba
add explore data set
Jan 28, 2024
64218b7
simplify
Jan 28, 2024
c00094d
add streaming dashboard example
Jan 28, 2024
543969b
add build dashboard
Jan 28, 2024
63164eb
Update doc/explanation/develop_seamlessly.md
MarcSkovMadsen Jan 29, 2024
9361093
Update doc/explanation/develop_seamlessly.md
MarcSkovMadsen Jan 29, 2024
0af4a98
Update doc/explanation/develop_seamlessly.md
MarcSkovMadsen Jan 29, 2024
e8ca133
Update doc/explanation/develop_seamlessly.md
MarcSkovMadsen Jan 29, 2024
d30f226
Update doc/tutorials/basic/build_chatbot.md
MarcSkovMadsen Jan 29, 2024
ad310d2
simplify
Jan 29, 2024
a62506b
Update doc/tutorials/basic/build_chatbot.md
MarcSkovMadsen Jan 29, 2024
438e574
Update doc/tutorials/basic/build_chatbot.md
MarcSkovMadsen Jan 29, 2024
141454d
Update doc/tutorials/basic/build_chatbot.md
MarcSkovMadsen Jan 29, 2024
7853225
Update doc/tutorials/basic/build_chatbot.md
MarcSkovMadsen Jan 29, 2024
9332896
simplify
Jan 29, 2024
66cc6fc
improve
Jan 29, 2024
88e3311
minor fixes
Jan 29, 2024
3081ed0
add templates
MarcSkovMadsen Jan 29, 2024
366af61
Merge origin/main
philippjfr Jan 29, 2024
5ac804c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jan 29, 2024
b728717
Fix spelling
philippjfr Jan 29, 2024
ecf7d2c
Optimize PNG images (lossless)
philippjfr Jan 29, 2024
f5b86a6
explain the templates
Jan 30, 2024
815d906
finalize templates
Jan 30, 2024
b3cc601
improve join community
Jan 30, 2024
5466059
Merge branch 'docs_fixes_1.4_a1_review' of https://github.com/holoviz…
Jan 30, 2024
bb16d1d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jan 30, 2024
47cc7fd
Optimize PNG images (lossless)
pre-commit-ci[bot] Jan 30, 2024
cbe7c4a
add installation
Jan 30, 2024
9eb984c
add plot and table events
Jan 30, 2024
84d98e6
Begin review and fix up admonitions
philippjfr Jan 30, 2024
16dbdde
Review display section
philippjfr Jan 30, 2024
f5becbc
Review Organize content sections
philippjfr Jan 30, 2024
a275639
use we more
MarcSkovMadsen Jan 31, 2024
504da32
move table and plot events
MarcSkovMadsen Feb 1, 2024
6633e16
restructure
MarcSkovMadsen Feb 1, 2024
d4b30d6
add monitoring dashboard
MarcSkovMadsen Feb 1, 2024
6cc48b0
monitoring dashboard image
MarcSkovMadsen Feb 1, 2024
bc065d1
Optimize PNG images (lossless)
MarcSkovMadsen Feb 1, 2024
cccb576
add indicators tutorial
MarcSkovMadsen Feb 1, 2024
4b4c7b6
change to wind turbine narrative
MarcSkovMadsen Feb 1, 2024
6ec4dbd
Merge branch 'docs_fixes_1.4_a1_review' of https://github.com/holoviz…
MarcSkovMadsen Feb 1, 2024
6f5e404
Optimize PNG images (lossless)
MarcSkovMadsen Feb 1, 2024
cd4cc7c
bar chart race
MarcSkovMadsen Feb 2, 2024
8b33f62
Merge branch 'docs_fixes_1.4_a1_review' of https://github.com/holoviz…
MarcSkovMadsen Feb 2, 2024
d10d4a2
simplify
MarcSkovMadsen Feb 2, 2024
8df0ec4
simplify
MarcSkovMadsen Feb 2, 2024
7a6a036
make responsive
MarcSkovMadsen Feb 2, 2024
1024cdb
align plot examples. Add altair example
MarcSkovMadsen Feb 2, 2024
a830f55
align panel and panes
MarcSkovMadsen Feb 2, 2024
731c77a
convert to wind example
MarcSkovMadsen Feb 2, 2024
b5a8921
clean up
MarcSkovMadsen Feb 2, 2024
cc3be52
size
MarcSkovMadsen Feb 3, 2024
e97d047
Optimize PNG images (lossless)
MarcSkovMadsen Feb 3, 2024
5306ec6
update size tutorial and admonitions
MarcSkovMadsen Feb 3, 2024
d784d90
Merge branch 'docs_fixes_1.4_a1_review' of https://github.com/holoviz…
MarcSkovMadsen Feb 3, 2024
3fc46c6
try organising in tabs
MarcSkovMadsen Feb 3, 2024
0288e69
improve
MarcSkovMadsen Feb 3, 2024
1ebedd6
simplify
MarcSkovMadsen Feb 3, 2024
9dd49e9
Update doc/tutorials/basic/panes.md
MarcSkovMadsen Feb 3, 2024
938d5d1
fix
MarcSkovMadsen Feb 3, 2024
829e3ad
Merge branch 'docs_fixes_1.4_a1_review' of https://github.com/holoviz…
MarcSkovMadsen Feb 3, 2024
a0966b6
align serve
MarcSkovMadsen Feb 3, 2024
878ce0f
Optimize PNG images (lossless)
MarcSkovMadsen Feb 3, 2024
4c6e449
add style and design
MarcSkovMadsen Feb 3, 2024
6ffadc8
Merge branch 'docs_fixes_1.4_a1_review' of https://github.com/holoviz…
MarcSkovMadsen Feb 3, 2024
5535978
review feedback and fix of section links
MarcSkovMadsen Feb 4, 2024
86d96e0
define target audience
MarcSkovMadsen Feb 4, 2024
8dde4ae
add align tutorial
MarcSkovMadsen Feb 4, 2024
1318347
Optimize PNG images (lossless)
MarcSkovMadsen Feb 4, 2024
4572b2f
add progressive layouts
MarcSkovMadsen Feb 4, 2024
dceeed0
fix reactive expressions
MarcSkovMadsen Feb 4, 2024
21d3727
fix issues
MarcSkovMadsen Feb 4, 2024
0bc77e8
add activity indicators
MarcSkovMadsen Feb 5, 2024
20cc223
Optimize PNG images (lossless)
MarcSkovMadsen Feb 5, 2024
fa9e75b
add caching tutorial
MarcSkovMadsen Feb 5, 2024
5c14217
Optimize PNG images (lossless)
MarcSkovMadsen Feb 5, 2024
c1bd855
minor fixes
MarcSkovMadsen Feb 5, 2024
ff1bdb7
Merge branch 'docs_fixes_1.4_a1_review' of https://github.com/holoviz…
MarcSkovMadsen Feb 5, 2024
db46d7f
finalize streaming dashboard
MarcSkovMadsen Feb 5, 2024
09b9898
fix
MarcSkovMadsen Feb 5, 2024
90730f4
Merge branch 'main' of https://github.com/holoviz/panel into docs_fix…
MarcSkovMadsen Feb 6, 2024
d0e0883
reorganise the tutorial
MarcSkovMadsen Feb 6, 2024
d4d0bb4
fix issues
MarcSkovMadsen Feb 7, 2024
6a8a15f
fix issues
MarcSkovMadsen Feb 7, 2024
f16cc78
improve caching tutorial
MarcSkovMadsen Feb 8, 2024
defd791
improve panel and panes
MarcSkovMadsen Feb 8, 2024
075ce17
fix
MarcSkovMadsen Feb 8, 2024
8f689f9
build a dashboard
MarcSkovMadsen Feb 8, 2024
a046b28
fix
MarcSkovMadsen Feb 8, 2024
dd75d63
add deployment
MarcSkovMadsen Feb 9, 2024
634da8e
Optimize PNG images (lossless)
MarcSkovMadsen Feb 9, 2024
dcc48d2
change to Panel account
MarcSkovMadsen Feb 9, 2024
fc01afb
Merge branch 'docs_fixes_1.4_a1_review' of https://github.com/holoviz…
MarcSkovMadsen Feb 9, 2024
4ac075c
Optimize PNG images (lossless)
MarcSkovMadsen Feb 9, 2024
bc8d02e
commit changes
MarcSkovMadsen Feb 9, 2024
6fafbc6
add more orgs
MarcSkovMadsen Feb 9, 2024
9f0a023
add badge
MarcSkovMadsen Feb 9, 2024
add52fa
Merge branch 'main' of https://github.com/holoviz/panel into docs_fix…
MarcSkovMadsen Feb 9, 2024
1fb2579
fix
MarcSkovMadsen Feb 9, 2024
475f0e2
clean up
MarcSkovMadsen Feb 9, 2024
0e9965b
review
MarcSkovMadsen Feb 10, 2024
dc11e03
maxime feedback
MarcSkovMadsen Feb 18, 2024
3c42ebc
fix test failure
MarcSkovMadsen Feb 18, 2024
8b85b33
minor fix
MarcSkovMadsen Feb 18, 2024
e54b4ff
Merge branch 'main' of https://github.com/holoviz/panel into docs_fix…
MarcSkovMadsen Feb 18, 2024
fa8d1be
refactor explore data
MarcSkovMadsen Feb 18, 2024
ca5b174
move join community to community page
MarcSkovMadsen Feb 18, 2024
ab3545b
remove reference to topics
MarcSkovMadsen Feb 19, 2024
97fe1a3
use bokeh 3.3.0
MarcSkovMadsen Feb 19, 2024
244faff
maxime feedback
MarcSkovMadsen Feb 19, 2024
c46dfaa
Optimize PNG images (lossless)
MarcSkovMadsen Feb 19, 2024
cf341ee
update monitoring dashboard example
MarcSkovMadsen Feb 20, 2024
b1c9bb9
minor updates
MarcSkovMadsen Feb 21, 2024
a25ccfb
add explanations
MarcSkovMadsen Feb 21, 2024
f6665a9
explain animation
MarcSkovMadsen Feb 21, 2024
e9d0e17
pip first
MarcSkovMadsen Feb 21, 2024
37f1683
revert bokeh version to 3.4 dev
MarcSkovMadsen Feb 21, 2024
c245abd
Merge branch 'main' of https://github.com/holoviz/panel into docs_fix…
MarcSkovMadsen Feb 21, 2024
5638003
add usage section
MarcSkovMadsen Feb 21, 2024
478667a
update todo app
MarcSkovMadsen Feb 21, 2024
51ccbb2
minor fixes
MarcSkovMadsen Feb 21, 2024
26ca4b7
improve language
MarcSkovMadsen Feb 22, 2024
1afb170
improve language
MarcSkovMadsen Feb 22, 2024
c42ab0e
improve language
MarcSkovMadsen Feb 22, 2024
7459ac8
improve language
MarcSkovMadsen Feb 22, 2024
89a4c32
improve language
MarcSkovMadsen Feb 22, 2024
9115f10
Optimize PNG images (lossless)
MarcSkovMadsen Feb 22, 2024
d386a95
fix build
MarcSkovMadsen Feb 23, 2024
5a48407
improve language
MarcSkovMadsen Feb 23, 2024
a257627
improve language
MarcSkovMadsen Feb 23, 2024
018563b
improve language
MarcSkovMadsen Feb 23, 2024
64c213e
fix tabset
MarcSkovMadsen Feb 23, 2024
2bd1f5e
improve language
MarcSkovMadsen Feb 23, 2024
0770c9c
improve language
MarcSkovMadsen Feb 23, 2024
0347401
improve language
MarcSkovMadsen Feb 23, 2024
1622aa7
improve language
MarcSkovMadsen Feb 23, 2024
e0c82ce
improve language
MarcSkovMadsen Feb 23, 2024
add5754
improve language
MarcSkovMadsen Feb 23, 2024
ce703ed
Optimize PNG images (lossless)
MarcSkovMadsen Feb 23, 2024
7cdd477
Merge branch 'main' of https://github.com/holoviz/panel into docs_fix…
MarcSkovMadsen Feb 23, 2024
51c890e
update front page as agreed
MarcSkovMadsen Feb 23, 2024
950060d
improve formulation
MarcSkovMadsen Feb 24, 2024
2d5338c
make less overwhelming
MarcSkovMadsen Feb 24, 2024
a2d99de
improve language
MarcSkovMadsen Feb 24, 2024
d6dfdb4
refactor install instruction
MarcSkovMadsen Feb 24, 2024
5088547
reorder
MarcSkovMadsen Feb 24, 2024
93ccaa8
improve
MarcSkovMadsen Feb 24, 2024
9196270
make less overwhelming
MarcSkovMadsen Feb 24, 2024
d2c6fdb
refactor intermediate tutorial
MarcSkovMadsen Feb 24, 2024
9c6fa56
Make tutorial descriptions ready for release
MarcSkovMadsen Feb 24, 2024
0968f88
fix issue
MarcSkovMadsen Feb 24, 2024
8adeb93
improve getting started
MarcSkovMadsen Feb 25, 2024
aa8e4a2
Improve build an app. Align getting started icons
MarcSkovMadsen Feb 25, 2024
a2bf270
improve getting started
MarcSkovMadsen Feb 25, 2024
ddc4485
move community page
MarcSkovMadsen Feb 25, 2024
bd45ce6
Optimize PNG images (lossless)
MarcSkovMadsen Feb 25, 2024
06fb410
update outliers_declarative
MarcSkovMadsen Feb 25, 2024
4eaf8d3
Merge branch 'docs_fixes_1.4_a1_review' of https://github.com/holoviz…
MarcSkovMadsen Feb 25, 2024
c0444eb
revert change
MarcSkovMadsen Feb 25, 2024
a2d5437
Merge branch 'main' of https://github.com/holoviz/panel into docs_fix…
MarcSkovMadsen Feb 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions doc/_static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,7 @@ button.copybtn:hover {
.o-tooltip--left:after {
background: none;
}

video {
max-width: 100%;
}
Binary file added doc/_static/images/align-cards-solution.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/_static/images/awesome-panel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/_static/images/develop_editor_breakpoint.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/_static/images/develop_editor_click_me.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/_static/images/develop_editor_hover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/_static/images/develop_editor_layout0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/_static/images/develop_editor_layout1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/_static/images/develop_editor_param.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/_static/images/develop_editor_serve_app.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed doc/_static/images/editor_server_app.png
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/_static/images/getting_started_app.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/_static/images/hugging_face_spaces_delete.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/_static/images/hugging_face_spaces_files.png
Binary file added doc/_static/images/join_community_discord.png
Binary file added doc/_static/images/join_community_discourse.png
Binary file added doc/_static/images/join_community_github.png
Binary file added doc/_static/images/join_community_linkedin.png
Binary file added doc/_static/images/join_community_open_source.png
Binary file added doc/_static/images/join_community_twitter.png
Binary file added doc/_static/images/monitoring_dashboard.png
Binary file added doc/_static/images/notebook_inspect_print.png
Binary file added doc/_static/images/notebook_inspect_print_1.png
Binary file added doc/_static/images/notebook_inspect_shift_tab.png
Binary file added doc/_static/images/panel-chat-examples.png
Binary file added doc/_static/images/panel-serve-ipynb-app.png
Binary file added doc/_static/images/panel-serve-ipynb-notebook.png
Binary file added doc/_static/images/panel-serve-multipage-app.png
Binary file added doc/_static/images/panel-serve-py-app.png
Binary file added doc/_static/images/panes.png
Binary file added doc/_static/images/structure_data_store_app.png
Binary file added doc/_static/images/templates_customized_dark.png
Binary file added doc/_static/images/templates_hello_world.png
Binary file added doc/_static/images/understand_load.png
Binary file added doc/_static/images/understand_load_refresh.png
Binary file removed doc/_static/images/vscode-script.png
Diff not rendered.
75 changes: 75 additions & 0 deletions doc/community.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# Community

Find inspiration in the community forums, ask for help, help others, share your work, report issues, add feature requests, and contribute improvements.

## Detailed discussions on Discourse

:::{note}
[Discourse](https://discourse.holoviz.org/) is the place for detailed discussions around code. Here we can ask for help, find answers to other users' questions, and showcase our work.

When asking questions, please include a [Minimal, Reproducible Example](https://stackoverflow.com/help/minimal-reproducible-example) if at all possible. It will make it much, much easier to help you.
:::

Go to the [HoloViz Discourse](https://discourse.holoviz.org/) and sign up.

Click [this link](https://discourse.holoviz.org/t/welcome-please-introduce-yourself/3310/) to *introduce yourself* to the community.

[![HoloViz Discourse](_static/images/join_community_discourse.png)](https://discourse.holoviz.org/)

## Quick chats on Discord

:::{note}
[Discord](https://discord.gg/rb6gPXbdAr) is the place for quick and live discussions.
:::

Click [this link](https://discord.gg/rb6gPXbdAr) to sign up.

Then *introduce yourself* in the `introduce-yourself` channel.

[![HoloViz Discourse](_static/images/join_community_discord.png)](https://discord.gg/rb6gPXbdAr)

## Bugs, Features, and Contributions on Github

:::{note}
We can report bugs, ask for new features, and contribute improvements at [github.com/holoviz/panel](https://github.com/holoviz/panel).

Before reporting bugs or asking for new features, please make sure they are not already in the [*Issues tracker*](https://github.com/holoviz/panel/issues).
:::

[![Github Issues](_static/images/join_community_github.png)](https://github.com/holoviz/panel/issues).

Create an account by following [this guide](https://docs.github.com/en/get-started/quickstart/creating-an-account-on-github).

## Announcements and Showcases on Social Media

Follow Panel on [X](https://x.com/Panel_org).

[![Panel on X](_static/images/join_community_twitter.png)](https://x.com/Panel_org)

Follow Panel on [LinkedIn](https://www.linkedin.com/company/panel-org)

[![Panel on LinkedIn](_static/images/join_community_linkedin.png)](https://www.linkedin.com/company/panel-org)

## Community Resources at Awesome Panel

Bookmark [Awesome Panel](https://awesome-panel.org).

[![Awesome Panel](_static/images/awesome-panel.png)](https://awesome-panel.org)

## Contribute

Panel is an open source, community-driven project. We are nothing without the community.

If you want to start contributing, check out the [Contributing Guide](https://github.com/holoviz/panel/blob/main/CONTRIBUTING.MD). Thanks.

[![Panel is an Open Source, Community-driven project](_static/images/join_community_open_source.png)](https://github.com/holoviz/panel/blob/main/CONTRIBUTING.MD)

## Resources

- [Awesome Panel](https://awesome-panel.org).
- [Contributing Guide](https://github.com/holoviz/panel/blob/main/CONTRIBUTING.MD)
- [Discord](https://discord.gg/rb6gPXbdAr)
- [Discourse](https://discourse.holoviz.org/)
- [Github](https://github.com/holoviz/panel)
- [LinkedIn](https://www.linkedin.com/company/panel-org)
- [X](https://x.com/Panel_org)
2 changes: 1 addition & 1 deletion doc/developer_guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ Once pyctdev is available and you are in the cloned panel repository you can set
doit env_create -c pyviz/label/dev -c conda-forge --name=panel_dev --python=3.9
```

Specify the desired Python version, currently Panel officially supports Python 3.8 or later. Once the environment has been created you can activate it with:
Specify the desired Python version, currently Panel officially supports Python 3.9 or later. Once the environment has been created you can activate it with:

```bash
conda activate panel_dev
Expand Down
66 changes: 42 additions & 24 deletions doc/explanation/api/examples/outliers_declarative.md
Original file line number Diff line number Diff line change
@@ -1,62 +1,80 @@
# Simple Outlier App - Declarative API
# Declarative API with Class-Based Approach

This app is a complement to the simple app demonstrated in the [Getting Started > Build an app](../../../getting_started/build_app.md) tutorial which utilized the reactive API.
This section introduces a more advanced and powerful method of creating Panel apps using a declarative, class-based approach. It builds upon the simple app demonstrated in the [Getting Started > Build an app](../../../getting_started/build_app.md) tutorial, which utilized the reactive, function-based API.

The reactive API approach is very flexible, but it ties your domain-specific code (the parts about sine waves) with your widget display code. That's fine for small, quick projects or projects dominated by visualization code, but what about large-scale, long-lived projects, where the code is used in many different contexts over time, such as in large batch runs, one-off command-line usage, notebooks, and deployed dashboards? For larger projects like that, it's important to be able to separate the parts of the code that are about the underlying domain (i.e. application or research area) from those that are tied to specific display technologies (such as Jupyter notebooks or web servers).
While the reactive API approach is flexible, it intertwines domain-specific code with widget display code. This works well for small projects or those heavily focused on visualization. However, for larger, long-term projects used across various contexts like batch runs, command-line usage, notebooks, and deployed dashboards, it becomes crucial to separate domain logic from display technologies.

For such usages, Panel supports objects declared with the separate [Param](http://param.pyviz.org) library, which provides a GUI-independent way of capturing and declaring the parameters of your objects (and dependencies between your code and those parameters), in a way that's independent of any particular application or dashboard technology. For instance, the app in [Getting Started > Build an app](../../../getting_started/build_app.md) can be captured in an object that declares the ranges and values of all parameters, as well as how to generate the plot, independently of the Panel library or any other way of interacting with the object. First, we'll copy the initial steps :
For such scenarios, Panel supports the use of objects declared with the separate [Param](http://param.holoviz.org) library. Param provides a GUI-independent way to capture and declare object parameters and dependencies, irrespective of any specific application or dashboard technology. This allows for modularization, making it easier to manage and reuse code across different environments.

In this approach, the app's logic is encapsulated within a class, separating concerns and promoting code organization. Let's walk through the steps:

```{pyodide}
import panel as pn
import hvplot.pandas
import numpy as np
import param
import pandas as pd
import panel as pn
import param

pn.extension()
PRIMARY_COLOR = "#0072B5"
SECONDARY_COLOR = "#B54300"
CSV_FILE = (
"https://raw.githubusercontent.com/holoviz/panel/main/examples/assets/occupancy.csv"
)

pn.extension(design="material")
```

```{pyodide}
@pn.cache
def get_data():
return pd.read_csv(CSV_FILE, parse_dates=["date"], index_col="date")

csv_file = 'https://raw.githubusercontent.com/holoviz/panel/main/examples/assets/occupancy.csv'
data = pd.read_csv(csv_file, parse_dates=['date'], index_col='date')
data = get_data()

data.tail()
```

```{pyodide}
def view_hvplot(avg, highlight):
return avg.hvplot(height=300, width=400, legend=False) * highlight.hvplot.scatter(
color="orange", padding=0.1, legend=False
)

def find_outliers(variable="Temperature", window=30, sigma=10, view_fn=view_hvplot):
def transform_data(variable, window, sigma):
"""Calculates the rolling average and identifies outliers"""
avg = data[variable].rolling(window=window).mean()
residual = data[variable] - avg
std = residual.rolling(window=window).std()
outliers = np.abs(residual) > std * sigma
return view_fn(avg, avg[outliers])
return avg, avg[outliers]


def get_plot(variable="Temperature", window=30, sigma=10):
"""Plots the rolling average and the outliers"""
avg, highlight = transform_data(variable, window, sigma)
return avg.hvplot(
height=300, width=800, legend=False, color=PRIMARY_COLOR
) * highlight.hvplot.scatter(color=SECONDARY_COLOR, padding=0.1, legend=False)
```

Now, let's implement the declarative API approach:
```{pyodide}
get_plot(variable='Temperature', window=20, sigma=10)
```

Now, let's implement the declarative API approach using a `Parameterized` class:

```{pyodide}
class RoomOccupancy(param.Parameterized):
variable = param.Selector(default="Temperature", objects=list(data.columns))
window = param.Integer(default=30, bounds=(1, 60))
sigma = param.Number(default=10, bounds=(0, 20))
variable = param.Selector(default="Temperature", objects=list(data.columns))
window = param.Integer(default=30, bounds=(1, 60))
sigma = param.Number(default=10, bounds=(0, 20))

def view(self):
return find_outliers(self.variable, self.window, self.sigma, view_fn=view_hvplot)
return get_plot(self.variable, self.window, self.sigma)

obj = RoomOccupancy()
obj
```

The `RoomOccupancy` class and the `obj` instance have no dependency on Panel, Jupyter, or any other GUI or web toolkit; they simply declare facts about a certain domain (such as that smoothing requires window and sigma parameters, and that window is an integer greater than 0 and sigma is a positive real number). This information is then enough for Panel to create an editable and viewable representation for this object without having to specify anything that depends on the domain-specific details encapsulated in `obj`:

The `RoomOccupancy` class and the `obj` instance have no direct dependency on Panel, Jupyter, or any other GUI toolkit. They solely declare facts about a specific domain, such as the parameters required for smoothing. This information is sufficient for Panel to create an interactive representation without needing domain-specific details encapsulated in `obj`:

```{pyodide}
pn.Column(obj.param, obj.view)
```

To support a particular domain, you can create hierarchies of such classes encapsulating all the parameters and functionality you need across different families of objects, with both parameters and code inheriting across the classes as appropriate, all without any dependency on a particular GUI library or even the presence of a GUI at all. This approach makes it practical to maintain a large codebase, all fully displayable and editable with Panel, in a way that can be maintained and adapted over time. See the [Attractors Panel app](https://examples.pyviz.org/attractors/attractors_panel.html) ([source](https://github.com/holoviz-topics/examples/tree/main/attractors)) for a more complex illustration of this approach, and the Panel codebase itself for the ultimate demonstration of using Param throughout a codebase!
To support various domains, you can create hierarchies of classes encapsulating parameters and functionality across different object families. Parameters and code can inherit across classes as needed, without depending on any specific GUI library. This approach facilitates the maintenance of large codebases, all displayable and editable with Panel, adaptable over time. For a more complex illustration, refer to the [Attractors Panel app](https://examples.holoviz.org/gallery/attractors/attractors_panel.html) ([source](https://github.com/holoviz-topics/examples/tree/main/attractors)), and explore the Panel codebase itself for extensive usage of Param throughout the codebase.
Loading
Loading