Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge doc prod updates into master #4522

Merged
merged 34 commits into from
Feb 15, 2024
Merged

Merge doc prod updates into master #4522

merged 34 commits into from
Feb 15, 2024

Conversation

LiamConnors
Copy link
Member

This merges recent updates to the docs back to master

MartinoMensio and others added 30 commits September 18, 2023 22:03
np.float has been removed, using float instead
Merge `master` to `doc-prod`
Fix broken markdown link in figure-labels.md
Jinja2 is a standard, safe, and powerful way to insert content into HTML in Python.  I add an example to the documentation
Co-authored-by: Liam Connors <connorsl@tcd.ie>
adding a jinja2 example to the interactive HTML export
Fix rendering issues on page
 Add example of Annotations with Log Axes
Add clarification on colors with open markers
In the python code that sets the variable "limits", the range numbers are resulting in missed values. This is because the first number in the list pair is inclusive while the second number is exclusive. For example, the limit pair of (0,2) only iterates through two loops (0 & 1) instead of three. The net result is that the map doesn't include the "2" city (Chicago).
@@ -92,7 +92,7 @@ from scipy.spatial.distance import pdist, squareform
# get data
data = np.genfromtxt("http://files.figshare.com/2133304/ExpRawData_E_TABM_84_A_AFFY_44.tab",
names=True,usecols=tuple(range(1,30)),dtype=float, delimiter="\t")
data_array = data.view((np.float, len(data.dtype.names)))
data_array = data.view((float, len(data.dtype.names)))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need this change?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, np.float has been removed in recent versions of Pandas
Here's the original PR that add that to the docs https://github.com/plotly/plotly.py/pull/4364/files

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

Copy link
Contributor

@archmoj archmoj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nicely done.
💃

@LiamConnors LiamConnors merged commit 6745ef1 into master Feb 15, 2024
5 checks passed
@LiamConnors LiamConnors deleted the merge-doc-prod-updates branch February 15, 2024 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants