Questions tagged as 'pygal'

1
answer

render a pygal graphic in a Qlabel

Good morning I'm trying to show a graph in a qlabel with pixmap and pygal, however it does not work, it throws me an error qn QPixmap from PyQt5 import QtCore, QtWidgets, QtSvg import pygal from PyQt5 import uic from PyQt5.QtGui import QPixmap...
asked by 14.09.2018 / 17:47
1
answer

My code does not return the actual value of the QWidget

Good evening I have the following code: The error that occurs to me is that when I print the size of self.widget.width() I get the value of 100 while in the QT Designer I show that the value is 450 The second error is that when you pas...
asked by 22.09.2018 / 07:34
1
answer

Visualization world map with pygal - No data

I'm with the book Python Crash Course and I can not visualize the World population map. When I open the .svg file in Chrome I receive the error of 'No Data'. I do not receive any errors when I run the program. Printing the cc_populations...
asked by 24.09.2018 / 13:03