Skip to main content

Provides plotting tools useful in datascience.

Project description

dataplot

Provides plotting tools useful in datascience.

Installation

$ pip install dataplot

Requirements

validating
lazyr
loggings
matplotlib
numpy
pandas
scipy
seaborn

See Also

Github repository

PyPI project

License

This project falls under the BSD 3-Clause License.

History

v0.1.8

  • Improved naming inference in dp.data(...) when decorators from validating are involved.
  • Refined module exports around artist helpers to make wildcard-style artist imports behave consistently.
  • Refactored plot-setting fallback behavior to use dp.defaults as the global source of defaults.
  • Enhanced get_setting(...) (including overload/type-hint coverage) so default values align with the corresponding setting types, and dict defaults are handled more safely.
  • Removed legacy set_default() usage and simplified setting application paths across artists/containers.
  • Added dependency loggings and updated warning emission in figure setting flows.

v0.1.7

  • dp.data(...) can accept PlotDataSet objects now.
  • FigWrapper.__enter__() now returns a copy safely via _entered_copy.
  • Internal maintenance and stability refinements.

v0.1.6

  • New method PlotDataSet.scatter() to draw true scatter charts while keeping PlotDataSet.plot() as line chart behavior.
  • Improved automatic label inference for dp.data(...), plotting labels, and x-axis labels in interactive contexts.
  • Plot builders now use deferred drawing; removed dp.show() and improved axis/figure rendering in object representations.
  • Refined rendering stability with fixes for empty-axis cleanup and figure re-rendering in FigWrapper.__repr__.
  • Updated minimum required Python version to >=3.13.

v0.1.5

  • Fixed issue: unworking figure settings in the artist methods.

v0.1.4

  • Fixed issue: incorrectly displayed histogram statistics when the x-label had been modified by the user.

v0.1.3

  • Allowed users to set the plot-settings by kwargs in artist methods like PlotDataSet.hist(), PlotDataSet.plot(), etc.
  • New operation methods PlotDataSet.signedpow() and PlotDataSet.log10().
  • Renamed PlotDataSet.signlog() to .signedlog(); renamed PlotDataSet.opclear() to .undo_all(); removed PlotDataSet.opclear_records_only().
  • New optional parameter format_label= for PlotDataSet.set_plot() to decide whether to format the label when painting on the axes.
  • When defining the data classes, used dataclasses instead of attrs for a faster import.

v0.1.2

  • New methods PlotDataSet.corrmap(), PlotDataSet.ppplot(), and PlotDataSet.resample().
  • New optional parameter fmt= for PlotDataSet.plot(), PlotDataSet.qqplot(), PlotDataSet.ppplot(), and PlotDataSet.ksplot().
  • Bugfix.

v0.1.1

  • New module-level function dp.show().
  • New methods PlotDataSet.qqplot(), PlotDataSet.ksplot() and PlotDataSet.abs().
  • All the plotting method (e.g., .hist()) will now return an Artist object instead of None.
  • New plot settings: grid and grid_alpha.
  • Parameters of FigWrapper.set_figure(), AxesWrapper.set_axes() and PlotDataSet.set_plot() are keyword-only now.
  • The returns of .set_figure() and .set_axes() will be None (instead of self) to avoid misunderstandings.
  • New optional parameter inplace= for PlotDataSet.set_plot() to decide whether the changes will happen in-place (which is the only option before) or in a new copy.
  • Parameter ticks= for PlotDataSet.plot() can be set to a PlotDataSet object now.

v0.1.0

  • PlotDataSet now supports binary operations including +, -, *, /, and **.
  • New methods FigWrapper.set_figure() and AxesWrapper.set_axes() - use them instead of *.set_plot().
  • Simplified the usage of AxesWrapper.
  • New plot settings: subplots_adjust=, fontdict= and dpi=.
  • After this version, the required Python version is updated to >=3.11.9. Download and install v0.0.2 if the user is under lower Python version (>=3.8.13).

v0.0.2

  • Updated the meta-data.

v0.0.1

  • Initial release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dataplot-0.1.8.tar.gz (25.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dataplot-0.1.8-py3-none-any.whl (31.4 kB view details)

Uploaded Python 3

File details

Details for the file dataplot-0.1.8.tar.gz.

File metadata

  • Download URL: dataplot-0.1.8.tar.gz
  • Upload date:
  • Size: 25.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for dataplot-0.1.8.tar.gz
Algorithm Hash digest
SHA256 1ba2b56a2db0a895ec7dbd8a499958e5df1c3b98084fd36fbaba61c766d7f53d
MD5 3cd071add36b55a7aca4fddb61a9aafd
BLAKE2b-256 511e8a1a417af4a486718cd628a16e8fefbbb090786e2c6b91305033eca5e64f

See more details on using hashes here.

File details

Details for the file dataplot-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: dataplot-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 31.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for dataplot-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 111e31e5f49f843395cad6624678b902cf420b9b6fb52fbd2ee16e85c7cb8721
MD5 227107c0badfb2af68efe3089df788fd
BLAKE2b-256 f6e9b5178cb332dfe6d69bebd8bdbcf9875e1c646ff008b89002b80e3d42d71d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page