
Security News
Astral Launches pyx: A Python-Native Package Registry
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
A library for making beautiful graphs.
Built on top of rmagick; see its web page for a list of the system-level prerequisites (ImageMagick etc) and how to install them.
Add this line to your application's Gemfile:
gem 'gruff'
And then execute:
$ bundle
Or install it yourself as:
$ gem install gruff
Gruff uses Roboto font as default font which is licensed under the Apache License, Version 2.0.
require 'gruff'
g = Gruff::Line.new
g.title = 'Wow! Look at this!'
g.labels = { 0 => '5/6', 1 => '5/15', 2 => '5/24', 3 => '5/30', 4 => '6/4',
5 => '6/12', 6 => '6/21', 7 => '6/28' }
g.data :Jimmy, [25, 36, 86, 39, 25, 31, 79, 88]
g.data :Charles, [80, 54, 67, 54, 68, 70, 90, 95]
g.data :Julie, [22, 29, 35, 38, 36, 40, 46, 57]
g.data :Jane, [95, 95, 95, 90, 85, 80, 88, 100]
g.data :Philip, [90, 34, 23, 12, 78, 89, 98, 88]
g.data :Arthur, [5, 10, 13, 11, 6, 16, 22, 32]
g.write('exciting.png')
You can find many examples in the test directory along with their resulting charts in the expected directory.
In progress!
In progress!
http://www.rubydoc.info/github/topfunky/gruff/frames
$ ./docker-build.sh
$ ./docker-launch.sh
$ bundle exec rake
If you have made changes that involve updating the expected image, you need to update the image with the following command after running tests.
$ bundle exec rake test:image:update
If you change the method, you need to update RBS signatures.
$ rake rbs:update
The source for this project is now kept at GitHub:
http://github.com/topfunky/gruff
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that gruff demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.