Thanks to visit codestin.com
Credit goes to github.com

Skip to content

PyPI Package for visualizing personal reminders (Instagram: @artfornormies)

License

Notifications You must be signed in to change notification settings

jon-tk-chan/artfornormies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

Data visualization package built on Python Plotly. Use Artfornormies to create personal reminder graphs as shown on the Artfornormies Instagram.

Purpose: to develop data visualization style that aid in personal writing and self reflection topics. Intended audience for visuals include:

  • artists and creatives who struggle with perfectionism and minimization of own work
  • 20-30 somethings that struggle with social media comparison and quarterlife decision-making
  • younger self

Inspired by the work of Instagram content creators: @mattsurelee , @wetheurban, @lizandmollie

Installation

Install using pip:

pip install artfornormies

Usage

Generate a visual using one of the listed functions:

from artfornormies.object_graphs import Chart

afn = Chart(fig_width = 900, fig_height=800,night_mode = True, opacity_val=0.75,
                title_size=20, axis_label_size=20, tick_label_size=16, label_size=18, anno_size=10,
                label_charlen=9, anno_text= "Source: <i>https://github.com/jon-tk-chan</i><br><i>Instagram: @artfornormies</i>"
            )

afn.create_venn_2(text_labels=["Moving at a pace that is right for you right now", 
                              "Moving at a pace that appears much slower than your peers",
                              "More common than you think"],
                  main_title="")

fig.write_image("images/ex_plot.png")

Example Plot

Dependencies

Ensure that Python Plotly is installed on your current Python Environment.

Documentation

Plot type Function name Purpose Data parameters layout parameters

Scatter plot

create_scatter()

Compare categorical datapoints using 2 continuous numerical axes.
Use to show major differences in one dimension while highlighting relatively similar values in another dimension.

ex: Comparing what you post about vs what you spend your time on
x_vals: list of floats,
y_vals: list of floats,
text_vals: list of str,
main_title: str,
x_title: str,
y_title: str,
anno_text: str,
color_by_y: boolean,
main_colorscale: predefined colorcale variables(list of 2 item lists in [float, str]),
night_mode: boolean,
label_size: int,
label_charlen: int

Venn Diagram

create_venn_2()

Highlight shared quality between 2 categorical data points.
Use for highlighting similarities between 2 seemingly contradictory datapoints.

ex: the things you say about yourself vs the things you would never say to a loved one
venn_labels: list of 3 str (format: [left_text, right_text, intersection])
main_title: str,

anno_text: str,
fill_venn: boolean,
left_color: str,
right_color: str,
night_mode: boolean

Bar Chart

create_bar()

Compare categorical data points using 1 continuous numerical axis.
Use for showing differences in the numerical value of multiple categories.

ex: the types of job application responses (or lack thereof) and how attention you pay to them when evaluating self-worth
y_vals: list of floats,
text_vals: list of str,
main_title: str,

x_title: str,
y_title: str,
anno_text: str,
bar_color: str,
night_mode: boolean,
label_size: int,
label_charlen: int

Heatmap

create_heatmap()

Compare categorial datapoints using 2 bivariate dimensions.
Use for 2x2 pairwise comparison of multiple datapoints.

ex: identifying the labels you assign online peers based on whether you
like/dislike them and if you are younger/older than them
x_ticks: list of 2 str,
y_ticks: list of 2 str,
text_labels: list of 2 lists of 2 str in format: [[bottom_left, bottom_right],[top_left,top_right]],
main_title: str,
x_title: str,
y_title: str,
anno_text: str,
main_color=str,
night_mode=true

References

Artfornormies was built on top of Plotly visualization libaray: Plotly - Python Documentation

Releases

No releases published

Packages

No packages published

Languages