@@ -204,15 +204,15 @@ def _load_templates(self):
204204 self .index_js = f"{ shared_js } \n { (assets_dir / 'heatmap_index.js' ).read_text (encoding = 'utf-8' )} "
205205 self .file_js = f"{ shared_js } \n { (assets_dir / 'heatmap.js' ).read_text (encoding = 'utf-8' )} "
206206
207- # Load Python logo
207+ # Load Tachyon logo
208208 logo_dir = template_dir / "_assets"
209209 try :
210- png_path = logo_dir / "python -logo-only .png"
210+ png_path = logo_dir / "tachyon -logo.png"
211211 b64_logo = base64 .b64encode (png_path .read_bytes ()).decode ("ascii" )
212- self .logo_html = f'<img src="data:image/png;base64,{ b64_logo } " alt="Python logo" class="python-logo"/>'
212+ self .logo_html = f'<img src="data:image/png;base64,{ b64_logo } " alt="Tachyon logo" class="python-logo"/>'
213213 except (FileNotFoundError , IOError ) as e :
214214 self .logo_html = '<div class="python-logo-placeholder"></div>'
215- print (f"Warning: Could not load Python logo: { e } " )
215+ print (f"Warning: Could not load Tachyon logo: { e } " )
216216
217217 except (FileNotFoundError , IOError ) as e :
218218 raise RuntimeError (f"Failed to load heatmap template files: { e } " ) from e
@@ -804,6 +804,7 @@ def _generate_file_html(self, output_path: Path, filename: str,
804804 "<!-- CODE_LINES -->" : '' .join (code_lines_html ),
805805 "<!-- INLINE_CSS -->" : f"<style>\n { self ._template_loader .file_css } \n </style>" ,
806806 "<!-- INLINE_JS -->" : f"<script>\n { self ._template_loader .file_js } \n </script>" ,
807+ "<!-- PYTHON_LOGO -->" : self ._template_loader .logo_html ,
807808 }
808809
809810 html_content = self ._template_loader .file_template
0 commit comments