Skip to content

Commit

Permalink
Merge branch 'main' into 1.2.X
Browse files Browse the repository at this point in the history
  • Loading branch information
reidjohnson committed Oct 4, 2023
2 parents ea6d7c4 + a1b6a1c commit 24364d2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/plot_quantile_toy_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def make_toy_dataset(n_samples, seed=0):
y_pred_upp = y_pred[:, 2]

plt.plot(X_test, y_test, ".", c="#f2a619", label="Test Observations", ms=5)
plt.plot(xx, (xx * np.sin(xx)), c="black", label="$f(x) = x\,\sin(x)$", lw=2) # noqa: W605
plt.plot(xx, (xx * np.sin(xx)), c="black", label="$f(x) = x\\,\\sin(x)$", lw=2)
plt.plot(xx, y_pred_med, c="#006aff", label="Predicted Median", lw=3, ms=5)
plt.fill_between(
xx.ravel(),
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ requires = [

[tool.black]
line-length = 100
target_version = ['py38', 'py39', 'py310', 'py311']
target_version = ['py38', 'py39', 'py310', 'py311', 'py312']
preview = true
exclude = '''
/(
Expand Down
11 changes: 11 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@ def write_version_py():
LONG_DESCRIPTION = f.read()
MAINTAINER = "Zillow Group AI Team"
LICENSE = "Apache License 2.0"
URL = "https://zillow.github.io/quantile-forest"
DOWNLOAD_URL = "https://pypi.org/project/quantile-forest/#files"
PROJECT_URLS = {
"Documentation": "https://zillow.github.io/quantile-forest",
"Source": "https://github.com/zillow/quantile-forest",
"Tracker": "https://github.com/zillow/quantile-forest/issues",
}
VERSION = __version__
CLASSIFIERS = [
"Intended Audience :: Science/Research",
Expand All @@ -49,6 +56,7 @@ def write_version_py():
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
]

Expand Down Expand Up @@ -83,6 +91,9 @@ def setup_package():
maintainer=MAINTAINER,
description=DESCRIPTION,
license=LICENSE,
url=URL,
download_url=DOWNLOAD_URL,
project_urls=PROJECT_URLS,
version=VERSION,
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit 24364d2

Please sign in to comment.