-
Notifications
You must be signed in to change notification settings - Fork 3
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
BUILD: release pytools 2.0.dev1 #285
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…274) * API: add function pytools.build.validate_release_version() * TEST: replace test_package_version.py with version check in make.py * GIT: reverse exception for pytools.build module * REFACTOR: rename methods and variables for better legibility * BUILD: detect changes to make.py as changes to build config * BUILD: install 'packaging' for conda/tox builds * BUILD: do not recognize "develop" as a develop branch, only "dev/*"
# Conflicts: # src/pytools/__init__.py
# Conflicts: # src/pytools/__init__.py
* API: add sphinx processor to resolve generic type params in subclasses * API: improve exception logging in sphinx processors * DOC: tweak type annotations and docstrings * API: add processor for 'autodoc-process-bases' (new in sphinx 4.1) * DEBUG: replace print() with log.debug() * TEST: enhance test_resolve_generic_class_parameters() * DOC: update release notes
* API: make method Drawer.get_style_kwargs() public * DOC: update release notes
* API: allow validate_type to match multiple alternative types * DOC: improve type hints and docstrings of to_{list,tuple,set,collection} * TEST: add unit test for validate_type() * DOC: update release notes
* API: remove method HasExpressionRepr.get_class_id * DOC: update release notes
# Conflicts: # RELEASE_NOTES.rst # azure-pipelines.yml
…#282) * API: ResolveGenericClassParameters: resolve type vars for self or cls * DOC: update release notes * FIX: identify correct data type for `cls` parameter in class methods * TEST: add unit test for `self` and `cls` TypeVar resolution * REFACTOR: simplify ResolveGenericClassParameters._resolve_signature()
* API: render leaf names and weights via draw_leaf_labels() * API: pass cumulative weights to dendrogram styles * TEST: check for corrected dendrogram text report * FIX: increase reliability of text dimensions calculations * FIX: activate colorbar minor ticks only if minor formatter is specified * VIZ: revise dendrogram design * VIZ: unify the line and heatmap dendrogram styles in a single class * TEST: assert explicit dendrogram text output, not a hash * API: add optional arg subset to CharacterMatrix.lines * REFACTOR: render dendrogram report using CharacterMatrix.lines() * REFACTOR: call super().finalize_drawing after local render, not before * API: replace MatplotStyle.text_dimensions() with new class FittedText * API: accept multiple values for ColorbarMatplotStyle.color_for_value() * API: use '=' nor '*' as filler for text report titles * API: add a blank line to the end of text output * API: return values passed to validate_type() & validate_element_types() * DOC: improve docstring of DrawingStyle.start_drawing & .finalize_drawing * API: update type hints of validate_type() and validate_element_types() * API: add arg optional to validate_element_types() * API: improve error message of validate_type() if optional=True * API: add class pytools.data.Matrix * API: support weights and axis labels in MatrixDrawer * API: move class LinkageTree to module pytools.data * API: raise ValueError if Matrix gets weight array that is not 1d * API: implement Matrix.__eq__() * API: implement Matrix.resize() * TEST: add unit tests for class Matrix * TEST: remove an obsolete 'print' statement * REFACTOR: simplify Matrix.__eq__() * VIZ: flip vertical row order in matplot matrix plots, going top-down * API: make Matrix.names a tuple of numpy arrays * FIX: construct correct expected_type if optional=None * REFACTOR: move class FittedText to pytools.viz.util * REFACTOR: remove obsolete helper function is_numeric() * REFACTOR: remove redundant parentheses * DOC: update release notes * REFACTOR: simplify handling of weights in MatrixMatplotStyle * API: prevent negative weights in Matrix initializer * API: remove obsolete MatrixMatplotStyle parameter max_ticks * REFACTOR: improve handling of tick label rotation * REFACTOR: improve handling of tick locators * API: add new attribute MatrixMatplotStyle.nan_substitute * DOC: tweak an inline comment * VIZ: set color of axis labels to foreground color * VIZ: add custom font support, defaulting to monospaced * VIZ: remove exception for unprocessed kwargs to start/finalize_drawing * VIZ: streamline start_drawing/finalize_drawing cascades * DOC: fix a generated docstring * VIZ: replace function text_contrast_color w/ ColorScheme.contrast_color * VIZ: force a 1:1 aspect ratio for matrix plots * VIZ: sort leaf nodes in LinkageTree, not in DendrogramDrawer * VIZ: sort leaf nodes in LinkageTree, not in DendrogramDrawer * DOC: fix a docstring typo * VIZ: flip leaf orientation when rendering dendrograms as plots or text * API: support Expression representations for LinkageTree * REFACTOR: don't use get_class_id() to construct Matrix Expression repr * API: rename Matrix.data to .values, and .weight_label to .value_label * VIZ: minimize dendrogram report label width to longest label length * DOC: revise release notes * FIX: change Matrix.from_frame arg weight_label to value_label * DOC: tweak docstrings for DendrogramMatplotStyle.padding * API: add method Matrix.to_frame() * DOC: update docstring for Matrix.resize() * API: add attribute Matrix.weight_label * DOC: update docstrings for class ColoredStyle * TEST: cover Matrix.to_frame() in unit tests * DOC: revise release notes * tidy up after merge from 2.0.x * DOC: tidy up release notes after merge * VIZ: always render percentages <10 with one decimal * VIZ: rotate horizontal matrix labels by 45 degrees, not 30 * FIX: improve colored style type check when creating dark named styles * DOC: tweak release notes * DOC: tweak release notes * REFACTOR: replace T_Style_Class with Type[T_Style] * REFACTOR: allow DrawingStyle.get_named_styles() to return callables * FIX: correct colored style type check when creating dark named styles * REFACTOR: return broader Callable[..., T_Style] instead of Type[T_Style] * API: return a style instance from ColoredStyle.dark, not a style factory * TEST: update unit test for resolving generic classes * API: replace args rows/columns of Matrix.resize() with arg size * API: add classes RgbColor and RgbaColor * API: replace ColoredStyle.dark() with style constants in ColorScheme * DOC: fix xrefs in a docstring * API: rename module data.base to data.linkage * FIX: make compatibility improvements in update_forward_references() * DOC: tweak docstrings and type hints
* DOC: recognize builtin classes as "3rd party" super classes * API: add sphinx callback class ObjectDescriptionTransform * REFACTOR: minor code and docs tweaks * REFACTOR: move custom Sphinx callbacks to .util submodule * FIX: make compatibility improvements in update_forward_references() * FIX: make ResolveGenericClassParameters more robust * API: resolve typevars for attributes in ResolveGenericClassParameters * API: add __publicmodule__ attribute to private modules * API: update forward references also in type hints for class attributes * API: rename ResolveGenericClassParameters to ResolveTypeVariables * DOC: update release notes * DOC: fix code-block directives in docstrings * DOC: adjust "critical" BMI threshold in getting started notebook
j-ittner
changed the title
BUILD: release pytools 2.0dev1
BUILD: release pytools 2.0.dev1
Oct 15, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.