Skip to content

Commit

Permalink
Merge branch 'master' into update-plotly-js-2-28-0
Browse files Browse the repository at this point in the history
  • Loading branch information
LiamConnors authored Feb 5, 2024
2 parents 85bd194 + 23b4232 commit 316a2fd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ jobs:
- run:
name: Create conda environment
command: |
conda create -n env --yes python=3.9 conda-build conda-verify
conda create -n env --yes python=3.9 conda-build=3.28.4 conda-verify
conda install -n env -c conda-forge jupyterlab=3 nodejs=16
conda init bash
mkdir output
Expand Down
2 changes: 1 addition & 1 deletion doc/python/LaTeX.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jupyter:

#### LaTeX Typesetting

Figure titles, axis labels and annotations all accept LaTeX directives for rendering mathematical formulas and notation, when the entire label is surrounded by dollar signs `$...$`. This rendering is handled by the [MathJax library](https://www.mathjax.org/) (version 2.7.5), which must be loaded in the environment where figures are being rendered. MathJax is included by default in Jupyter-like environments, but when embedding Plotly figures in other contexts it may be required to ensure that MathJax is separately loaded, for example via a `<script>` tag pointing to a content-delivery network (CDN).
Figure titles, axis labels and annotations all accept LaTeX directives for rendering mathematical formulas and notation, when the entire label is surrounded by dollar signs `$...$`. This rendering is handled by the [MathJax library](https://www.mathjax.org/) (version 2.7.5), which must be loaded in the environment where figures are being rendered. MathJax is included by default in Jupyter-like environments, and LateX directives work with Jupyter Notebook version 6. LaTeX directives do not work with Jupyter Notebook version 7. When embedding Plotly figures in other contexts it may be required to ensure that MathJax is separately loaded, for example via a `<script>` tag pointing to a content-delivery network (CDN).

```python
import plotly.express as px
Expand Down
8 changes: 4 additions & 4 deletions packages/python/plotly/plotly/figure_factory/_dendrogram.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,10 +343,10 @@ def get_dendrogram_traces(
color_threshold=color_threshold,
)

icoord = scp.array(P["icoord"])
dcoord = scp.array(P["dcoord"])
ordered_labels = scp.array(P["ivl"])
color_list = scp.array(P["color_list"])
icoord = np.array(P["icoord"])
dcoord = np.array(P["dcoord"])
ordered_labels = np.array(P["ivl"])
color_list = np.array(P["color_list"])
colors = self.get_color_dict(colorscale)

trace_list = []
Expand Down

0 comments on commit 316a2fd

Please sign in to comment.