Kozea / Kozea/pygal

Entirely black image in thunar and ristretto image viewer

Open
#103 4 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
2.8k
Forks
419
PR merge metrics
No merged PRs in 30d

Description

The examples on the website produce an entirely black images as shown in thunar (xfce) and ristretto image viewer; in iceweasel the images are charts are visible. As an example, the following code does this:

```
import pygal # First import pygal
bar_chart = pygal.Bar() # Then create a bar graph object
bar_chart.add('Fibonacci', [0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55]) # Add some values
bar_chart.render_to_file('bar_chart.svg') # Save the svg to a file
```

This looks related to #7. I'm not sure if the problem is with pygal or the other applications.

Contributor guide

Open the contributing guide

Research direction

Reproduce the example from the issue and inspect the generated bar_chart.svg in Thunar, Ristretto, and Iceweasel. Read the discussion in issue #7 and compare the viewer results to determine whether the problem is in pygal's SVG output or the applications; done means the cause is identified and the affected rendering behavior is corrected or documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.