2
I have 3 functions like the following that allows to obtain each one a graph and I want a function where use the 3 graphs of the other functions to join in one figure.
def funcao1(grafico):
    ...
    pylab.plot(range(len(x)), y)
    pylab.xticks(z,sorted(set(x)))
    pylab.title("crimes")
    pylab.xlabel("Anos")
    pylab.ylabel("# Crimes")
    pylab.show()
def funcao2(grafico):
    ...
    pylab.plot(range(len(y)), x)
    pylab.xticks(b,sorted(set(y)))
    pylab.title("nomes")
    pylab.xlabel("Anos")
    pylab.ylabel("# Crimes")
    pylab.show()
def funcao3(grafico):
    ...
    pylab.plot(range(len(a)), e)
    pylab.xticks(p,sorted(set(a)))
    pylab.title("idades")
    pylab.xlabel("Anos")
    pylab.ylabel("# Crimes")
    pylab.show()
def quatro_figuras(grafico):
      #Aqui obter uma figura com os 3 graficos
It’s not working right , when I do it it does " None "
– Força Chape
@user44708 on which line?
– Rui Lima
For example when I run the function " quatro_figures" with F5 , it appears " None " it does nothing
– Força Chape
@user44708 before running this function you evoke functions 1, 2 and 3?
– Rui Lima
That’s right, thank you :)
– Força Chape