41 lines
1.5 KiB
Plaintext
41 lines
1.5 KiB
Plaintext
---
|
|
title: QasmHTMLStyle (v0.26)
|
|
description: API reference for qiskit.qasm.QasmHTMLStyle in qiskit v0.26
|
|
in_page_toc_min_heading_level: 1
|
|
python_api_type: class
|
|
python_api_name: qiskit.qasm.QasmHTMLStyle
|
|
---
|
|
|
|
<span id="qiskit-qasm-qasmhtmlstyle" />
|
|
|
|
# qiskit.qasm.QasmHTMLStyle
|
|
|
|
<Class id="qiskit.qasm.QasmHTMLStyle" isDedicatedPage={true} github="https://github.com/qiskit/qiskit/tree/stable/0.17/qiskit/qasm/pygments/lexer.py" signature="QasmHTMLStyle" modifiers="class">
|
|
A style for OpenQasm in a HTML env (e.g. Jupyter widget).
|
|
|
|
### \_\_init\_\_
|
|
|
|
<Function id="qiskit.qasm.QasmHTMLStyle.__init__" signature="__init__()">
|
|
Initialize self. See help(type(self)) for accurate signature.
|
|
</Function>
|
|
|
|
## Methods
|
|
|
|
| | |
|
|
| ---------------------------------------------------------------------------------------- | ---------------- |
|
|
| [`__init__`](#qiskit.qasm.QasmHTMLStyle.__init__ "qiskit.qasm.QasmHTMLStyle.__init__")() | Initialize self. |
|
|
|
|
## Attributes
|
|
|
|
| | |
|
|
| -------------------------------------- | - |
|
|
| `background_color` | |
|
|
| `highlight_color` | |
|
|
| `line_number_background_color` | |
|
|
| `line_number_color` | |
|
|
| `line_number_special_background_color` | |
|
|
| `line_number_special_color` | |
|
|
| `styles` | |
|
|
</Class>
|
|
|