Giter Site home page Giter Site logo

erdogant / scatterd Goto Github PK

View Code? Open in Web Editor NEW
10.0 2.0 4.0 7.26 MB

Scatterd is a Python package for easy and fast creation of beautiful scatter plots.

Home Page: https://erdogant.github.io/scatterd

License: Other

Shell 1.21% Python 98.79%
scatterplot scattertext scatter python

scatterd's Introduction

scatterd

Python Pypi Docs LOC Downloads Downloads License Forks Issues Project Status DOI Medium GitHub Repo stars GitHub repo size Donate

  • scatterd is a python package to creating scatter plots in a easy and fast manner.

⭐️ Star this repo if you like it ⭐️

Install scatterd from PyPI

pip install scatterd

Import scatterd package

from scatterd import scatterd

On the documentation pages you can find detailed information about the working of the scatterd with many examples.


Examples


Support

This project needs some love! ❤️ You can help in various ways.

* Become a Sponsor!
* Star this repo at the github page.
* Other contributions can be in the form of feature requests, idea discussions, reporting bugs, opening pull requests.
* Read more why becoming an sponsor is important on the Sponsor Github Page.

Cheers Mate.

scatterd's People

Contributors

erdogant avatar lisphilar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

scatterd's Issues

fails installation with poetry, AssertionError

Dear @erdogant ,
Thank you very much for creating useful packages!

With Poetry, I tried to install scatterd package. However, the following error was raised.

$ poetry add scatterd
Using version ^1.1.2 for scatterd

Updating dependencies
Resolving dependencies... (0.4s)

  AssertionError

  at ~/.poetry/lib/poetry/mixology/incompatibility.py:60 in __init__
       56│                     # intersection, they're mutually exclusive, making this incompatibility
       57│                     # irrelevant, since we already know that mutually exclusive version
       58│                     # ranges are incompatible. We should never derive an irrelevant
       59│                     # incompatibility.
    →  60│                     assert by_ref[ref] is not None
       61│                 else:
       62│                     by_ref[ref] = term
       63│ 
       64│             new_terms = []

python-poetry/poetry#1985 suggested cyclic dependencies were found in the package installation. The following codes of scatterd/setup.py may be the cause of this error.

     install_requires=['matplotlib','numpy','colourmap','seaborn','scatterd'],
     python_requires='>=3',
     name='scatterd',

We can replace them with

     install_requires=['matplotlib','numpy','colourmap','seaborn'], # 'scatterd' deleted
     python_requires='>=3',
     name='scatterd',

If acceptable, please review pull request #1. Thank you!
(I'd like to use scatterd via your pca package in my COVID-19 data analysis project as a dependency.)

Avoid editing of matplotlib `rcParams` in source code

Hi,

Thank you for providing this package. I was trying to plot a biplot with your other package, pca, and was having the hardest time figuring out why my matplotlib rcParams were not coming into effect. Not only was the biplot not coming out the way I wanted, when I added it to my figure, it would also modify the other subplots in the figure.

Turns out it was due to this line: https://github.com/erdogant/scatterd/blob/cdeacf33fdcff3459a7d14959edab2d825fd4026/scatterd/scatterd.py#L269C1-L270C1

I would like to suggest either removing this statement and finding an alternative way to set the font properties, or at least adding a warning to other users that may run into similar problems (not sure if verbose mode would account for that?)

I'd be happy to submit a PR with proposed changes, if you would welcome that.

Thank you!
Vini

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.