Skip to content

Commit

Permalink
Merge pull request OpenMDAO#532 from hschilling/I531-slow-dashboard
Browse files Browse the repository at this point in the history
Use Str Pane rather than Markdown to display input_list.txt and output_list.txt files
  • Loading branch information
jkirk5 authored Sep 16, 2024
2 parents 4b6a205 + a19dd6c commit 13cad4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aviary/visualization/dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ def create_report_frame(format, text_filepath, documentation):
if format == "markdown":
report_pane = pn.pane.Markdown(file_text)
elif format == "text":
report_pane = pn.pane.Markdown(f"```\n{file_text}\n```\n")
report_pane = pn.pane.Str(file_text)
report_pane = pn.Column(
pn.pane.HTML(f"<p>{documentation}</p>", styles={'text-align': 'left'}),
report_pane
Expand Down

0 comments on commit 13cad4f

Please sign in to comment.