Skip to content

Commit

Permalink
Remove underscores from title
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Apr 8, 2024
1 parent 48a678d commit 27334cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panel/io/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ def _render_template(self, doc, path):
reset = 'reset' in state.session_args
if not (editable or persist):
state.template.editable = False
state.template.title = os.path.splitext(os.path.basename(path))[0].title()
state.template.title = os.path.splitext(os.path.basename(path))[0].replace('_', ' ').title()

layouts, outputs, cells = {}, {}, {}
for cell_id, objects in state._cell_outputs.items():
Expand Down

0 comments on commit 27334cf

Please sign in to comment.