Skip to content

A fun little python function to draw bar graphs with turtle graphics!

License

Notifications You must be signed in to change notification settings

dantinkakkar/turtlebars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

turtlebars

A fun little python function to draw bar graphs with turtle graphics!

Using graphs.py

While it provides little practical utility, it is capable of generating and storing bar graphs (SVG). Here's how to call it:

  • Import graphs into your code with import graphs.py
  • Call the draw_bar() function in the following manner draw_graph(dataset,title_graph,scale,max_range)
  1. dataset: as an array [[value,title],[value,title]...[value,title]]
  2. title_graph: a string containing the title of the graph
  3. scale: Specifies scale of marked values to be marked in graph
  4. max_range: The maximum possible value of data

About

A fun little python function to draw bar graphs with turtle graphics!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages