Questions tagged as 'matplotlib'

1
answer

Change background color in Matplotlib

I am generating some graphics in a desktop application made with Tkinter. The problem I have is that it generates very simple graphics, with a white background, and I am finding it hard to find information on the Internet about how I can play wi...
asked by 18.09.2018 / 12:06
0
answers

Draw the mean on a graph with matplotlib

I am working with the following table In the graphic I have drawn the line of values (blue) of the table and, in red color, I have set the average value of the column Visits made with a loop: media = visitsPerDay['Visits'].mean() m...
asked by 12.08.2018 / 20:45
0
answers

Change color palette in python

I have the following problem, the color palettes that matplotlib brings are predetermined, and I am making the following graphic: import pylab as plt import pandas as pd import numpy as np fig = plt.figure() x1 = np.arange(1,13,1) y1...
asked by 15.06.2018 / 03:01
0
answers

matplotlib.pyplot GRAPH ERROR

import pandas as pd import matplotlib.pyplot as plt GFG = pd.read_csv("C:/Users/Usuario/Desktop/algotrade/GFG11.BA.csv",decimal="," ,sep=";", parse_dates=["Date"], dayfirst=True, index_col='Date') # Defin...
asked by 14.06.2018 / 17:57
1
answer

Anaconda3 - install matplotlib.ppylot package

In Windows 10, I have Anaconda3 installed (it includes Conda 4.4.6 and python 3.6.3). I need to install the matplotlib.ppylot module. I execute conda install matplotlib.ppylot and I get the notice that I attached. How...
asked by 12.06.2018 / 15:57
0
answers

How to insert image with Reportlab and variable extension text?

What I want is to generate a file in which on the first page is an image generated with matplotlib and then insert text of variable size, as I understand this method makes the number of pages adapt to the text, The code that I have is the...
asked by 23.05.2018 / 04:04
1
answer

Graph Only X Axis Matplotlib

I want to graph only X axis in Matplotlib. I have a list x = [0,1,2,3,4,5,6] and I want to draw only the x axis with that range of values. I do not need a vertical axis, only the horizontal axis. As an example, I add an image. I...
asked by 16.05.2018 / 23:04
0
answers

Use matplotlib.pyplot in raspberry pi 3B

Good morning, I'm working on raspberry pi 3B, to create a heat map, from a matrix that I generate with numpy, I need to graph it using matplotlib, seeing some examples do the importing like this: import matplotlib.pyplot as plt The problem...
asked by 08.05.2018 / 19:08
0
answers

Apply visual effect on matploitlib

How can I change the style or visual aspect of a graphic made in specific matplotlib this: import wave import struct import sys import numpy as np from math import sqrt import matplotlib matplotlib.use('Agg') from matplotlib import pylab impor...
asked by 31.03.2018 / 22:12
0
answers

Change bar style in matplotlib

Generate a code to analyze the frequency of the sound. But I want to know how I can modify the style of the bars. That is, add effects of pyqt as setGraphicEffect(QT::DropShadowEffect) for example, and add this result within a frame an...
asked by 25.03.2018 / 07:20