Open shaunhutch opened 1 year ago
Please check off boxes as applicable, and elaborate in comments below. Your review is not limited to these topics, as described in the reviewer guide
The package includes all the following forms of documentation:
pyproject.toml
file or elsewhere.Readme file requirements The package meets the readme requirements below:
The README should include, from top to bottom:
NOTE: If the README has many more badges, you might want to consider using a table for badges: see this example. Such a table should be more wide than high. (Note that the a badge for pyOpenSci peer-review will be provided upon acceptance.)
Reviewers are encouraged to submit suggestions (or pull requests) that will improve the usability of the package as a whole. Package structure should follow general community best-practices. In general please consider whether:
Note: Be sure to check this carefully, as JOSS's submission requirements and scope differ from pyOpenSci's in terms of what types of packages are accepted.
The package contains a paper.md
matching JOSS's requirements with:
Estimated hours spent reviewing: 1 Hr.
First of all, congratulations on creating such an interesting package, I really like the idea of the package that solves color template of the presentation problem, I personally got this problem before, and will definitely use this wonderful package!
pip install colourpycker
worked well and it worked well on my M1 laptop.pytest tests/ --cov=colourpycker
. Now, the test coverage is 82%, you might try to check more with pytest --cov-report term-missing --cov=colourpycker tests/
and write more tests to have better test coverage.get_color_palette
, donut
, scatterplot
, negative
, are well-written and well-documented with docstring, and I was able to pull the docstring with ?function_name
to see the document when I need it.scatterplot
function as below. I think it is because I do not have penguins
data on my session yet. I recommend putting a line importing an example data before running this example, so users can run the example without any problem .`--------------------------------------------------------------------------- NameError Traceback (most recent call last) Cell In[8], line 1 ----> 1 scatterplot('https://i.imgur.com/s9egWBB.jpg', penguins, 'bill_length_mm', 'body_mass_g', 'species', 50)
NameError: name 'penguins' is not defined`
scatterplot
function that we can pass our template picture, and our data, this function then returns the plot of our data with a specific color template of the picture, yet, the type of plot in this function is still limited, it should be a good idea if we can have more flexibility choosing plot type based on types in our data. Or we can have another function that creates a color map from the picture and we can use this color map later with other visualization libraries such as Altair, Seaborn, Matplotlib, Pandas, etc ..Finally, thank you again for creating this interesting package, I am glad to review your wonderful package.
Please check off boxes as applicable, and elaborate in comments below. Your review is not limited to these topics, as described in the reviewer guide
The package includes all the following forms of documentation:
pyproject.toml
file or elsewhere.Readme file requirements The package meets the readme requirements below:
The README should include, from top to bottom:
NOTE: If the README has many more badges, you might want to consider using a table for badges: see this example. Such a table should be more wide than high. (Note that the a badge for pyOpenSci peer-review will be provided upon acceptance.)
Reviewers are encouraged to submit suggestions (or pull requests) that will improve the usability of the package as a whole. Package structure should follow general community best-practices. In general please consider whether:
Note: Be sure to check this carefully, as JOSS's submission requirements and scope differ from pyOpenSci's in terms of what types of packages are accepted.
The package contains a paper.md
matching JOSS's requirements with:
check_param_validity
and rgb_to_hex
.Overall, the project is really great. Great job!
Please check off boxes as applicable, and elaborate in comments below. Your review is not limited to these topics, as described in the reviewer guide
The package includes all the following forms of documentation:
pyproject.toml
file or elsewhere.Readme file requirements The package meets the readme requirements below:
The README should include, from top to bottom:
NOTE: If the README has many more badges, you might want to consider using a table for badges: see this example. Such a table should be more wide than high. (Note that the a badge for pyOpenSci peer-review will be provided upon acceptance.)
Reviewers are encouraged to submit suggestions (or pull requests) that will improve the usability of the package as a whole. Package structure should follow general community best-practices. In general please consider whether:
Note: Be sure to check this carefully, as JOSS's submission requirements and scope differ from pyOpenSci's in terms of what types of packages are accepted.
The package contains a paper.md
matching JOSS's requirements with:
Estimated hours spent reviewing: 1 hour
In general I enjoyed using the package and the reviewing process. Nice work!
Submitting Author: Shaun Hutchinson (@shaunhutch), Lauren Zung (@lzung), Alex Taciuk (@ataciuk), Arjun Radhakrishnan (@rkrishnan-arjun) All current maintainers: (@shaunhutch, @lzung, @ataciuk, @rkrishnan-arjun) Package Name: xolourpycker One-Line Description of Package: A package to extract a colour palette from an image for data visualization. Repository Link: https://github.com/UBC-MDS/colourpycker Version submitted: v2.0.0 Editor: @flor14
Reviewers: Jakob Thoms, Suraporn Puangpanbut, Chester Wang, Ritisha Sharma Archive: TBD
Version accepted: TBD Date accepted (month/day/year): TBD
Description
This package allows users to integrate unique colour palettes into their graphs for exploratory data analysis. The colours are retrieved from image data (via URL) and are selected based on their overall prominence in a picture. While there are existing tools that are used to process images and create figures independently, we aim to combine both of their functionalities to help programmers easily design effective and creative visualizations.
Scope
For all submissions, explain how the and why the package falls under the categories you indicated above. In your explanation, please address the following points (briefly, 1-2 sentences for each):
This package is extracting the colours from images (data extraction). This is also processing image files for data visualizations (data munging). Finally we are using the extracted data to create visualizations.
Who is the target audience and what are scientific applications of this package?
The target audience is anyone who would like to make data visualizations more appealing and correspond to a theme of an image. This could be someone who would like their visualizations match to a company logo or some other image. These could be data scientists, data analysts or anyone using Python to make data visualizations.
Are there other Python packages that accomplish the same thing? If so, how does yours differ? Yes there are python packages that do similar things. However, they do not combine both colour extraction and data visualizations like our package does. One such package is: Pillow This package adds image processing capabilities into Python interpreters. It can perform various image transformations but does not allow for colours to be extracted directly for further use. Another package is extcolors This extracts RGB colour codes from images into text along with the occurrence rate (proportion of pixels). However, we would need to use additional packages to create plots using common colours in the image.
If you made a pre-submission enquiry, please paste the link to the corresponding issue, forum post, or other discussion, or
@tag
the editor you contacted:Technical checks
For details about the pyOpenSci packaging requirements, see our packaging guide. Confirm each of the following by checking the box. This package:
Publication options
JOSS Checks
- [ ] The package has an **obvious research application** according to JOSS's definition in their [submission requirements][JossSubmissionRequirements]. Be aware that completing the pyOpenSci review process **does not** guarantee acceptance to JOSS. Be sure to read their submission requirements (linked above) if you are interested in submitting to JOSS. - [ ] The package is not a "minor utility" as defined by JOSS's [submission requirements][JossSubmissionRequirements]: "Minor ‘utility’ packages, including ‘thin’ API clients, are not acceptable." pyOpenSci welcomes these packages under "Data Retrieval", but JOSS has slightly different criteria. - [ ] The package contains a `paper.md` matching [JOSS's requirements][JossPaperRequirements] with a high-level description in the package root or in `inst/`. - [ ] The package is deposited in a long-term repository with the DOI: *Note: Do not submit your package separately to JOSS*Are you OK with Reviewers Submitting Issues and/or pull requests to your Repo Directly?
This option will allow reviewers to open smaller issues that can then be linked to PR's rather than submitting a more dense text based review. It will also allow you to demonstrate addressing the issue via PR links.
Code of conduct
Please fill out our survey
P.S. *Have feedback/comments about our review process? Leave a comment here
Editor and Review Templates
The editor template can be found here.
The review template can be found here.