Draw Concrete Jungle Using Python Matplotlib Package

Draw Concrete Jungle Using Python Matplotlib Package

Sometimes we don't want to do regular work and want to do something different. So I decided why not draw something like a city, which is a concrete jungle, using the Matplotlib Python package. I have taken inspiration from the following image: https://www.alamy.com/city-landscape-with-buildings-colour-drawing-image407133836.html.

Introduction to pyplot

matplotlib.pyplot is a collection of functions that make matplotlib work like MATLAB. Each pyplot function makes some change to a figure: e.g., creates a figure, creates a plotting area in a figure, plots some lines in a plotting area, decorates the plot with labels, etc.

matplotlib.pyplot.plot

matplotlib.pyplot.plot(*args, scalex=True, scaley=True, data=None, **kwargs)

Plot y versus x as lines and/or markers.

The coordinates of the points or line nodes are given by x, y.

The optional parameter fmt is a convenient way for defining basic formatting like color, marker and linestyle. It's a shortcut string notation described in the Notes section below

plot(x, y)        # plot x and y using default line style and color
plot(x, y, 'bo')  # plot x and y using blue circle markers
plot(y)           # plot y using x as index array 0..N-1
plot(y, 'r+')     # ditto, but with red plusses

matplotlib.pyplot.fill

matplotlib.pyplot.fill(*args, data=None, **kwargs)[source]

Plot filled polygons.

Parameters:

*args: sequence of x, y, [color]

    Each polygon is defined by the lists of x and y positions of its nodes, optionally followed by a color specifier. See matplotlib.colors for supported color specifiers. The standard color cycle is used for polygons without a color specifier.

    You can plot multiple polygons by providing multiple x, y, [color] groups.

    For example, each of the following is legal:

    ax.fill(x, y)                    # a polygon with default color
    ax.fill(x, y, "b")               # a blue polygon
    ax.fill(x, y, x2, y2)            # two polygons
    ax.fill(x, y, "b", x2, y2, "r")  # a blue and a red polygon

data: indexable object, optional

An object with labelled data. If given, provide the label names to plot in x and y, e.g.:

ax.fill("time", "signal",
        data={"time": [0, 1, 2], "signal": [0, 1, 0]})

Returns:

list of
Polygon

Other Parameters:

**kwargsPolygon properties

Import matplotlib package

In [1]:
import matplotlib.pyplot as plt

Set figure size, x limit and y limit

In [2]:
plt.figure(figsize = (22, 18))

plt.xlim(1, 20)
plt.ylim(1, 20)
plt.show()

Draw roads

First, we will draw all points and then connect lines. After connecting the lines, we will delete the points.

In [3]:
plt.figure(figsize = (22, 18))

# roads
plt.plot(1, 1, marker = 'o', color = 'red')
plt.plot(20, 1, marker = 'o', color = 'red')
plt.plot(20, 2.5, marker = 'o', color = 'red')
plt.plot(1, 2.5, marker = 'o', color = 'red')

plt.fill(
    [1, 20, 20, 1, 1],
    [1, 1, 2.5, 2.5, 1],
    color = '#010101'
)

# second road
plt.plot(1, 3.5, marker = 'o', color = 'yellow')
plt.plot(20, 3.5, marker = 'o', color = 'yellow')

plt.fill(
    [1, 20, 20, 1],
    [2.5, 2.5, 3.5, 3.5],
    color = '#262626'
)

# third road
plt.plot(1, 4.5, marker = 'o', color = 'green')
plt.plot(20, 4.5, marker = 'o', color = 'green')
plt.fill(
    [1, 20, 20, 1],
    [3.5, 3.5, 4.5, 4.5],
    color = '#4D4D4D'
)


plt.xlim(1, 20)
plt.ylim(1, 20)
plt.show()

Remove all points of roads

In [4]:
plt.figure(figsize = (22, 18))

# roads
#plt.plot(1, 1, marker = 'o', color = 'red')
#plt.plot(20, 1, marker = 'o', color = 'red')
#plt.plot(20, 2.5, marker = 'o', color = 'red')
#plt.plot(1, 2.5, marker = 'o', color = 'red')

plt.fill(
    [1, 20, 20, 1, 1],
    [1, 1, 2.5, 2.5, 1],
    color = '#010101'
)

# second road
#plt.plot(1, 3.5, marker = 'o', color = 'yellow')
#plt.plot(20, 3.5, marker = 'o', color = 'yellow')

plt.plot(
    [1, 20],
    [3.5, 3.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [2.5, 2.5, 3.5, 3.5],
    color = '#262626'
)

# third road
#plt.plot(1, 4.5, marker = 'o', color = 'green')
#plt.plot(20, 4.5, marker = 'o', color = 'green')
plt.plot(
    [1, 20],
    [4.5, 4.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [3.5, 3.5, 4.5, 4.5],
    color = '#4D4D4D'
)


plt.xlim(1, 20)
plt.ylim(1, 20)
plt.show()

Draw sky or background

In [5]:
plt.figure(figsize = (22, 18))

# roads
#plt.plot(1, 1, marker = 'o', color = 'red')
#plt.plot(20, 1, marker = 'o', color = 'red')
#plt.plot(20, 2.5, marker = 'o', color = 'red')
#plt.plot(1, 2.5, marker = 'o', color = 'red')

plt.fill(
    [1, 20, 20, 1, 1],
    [1, 1, 2.5, 2.5, 1],
    color = '#010101'
)

# second road
#plt.plot(1, 3.5, marker = 'o', color = 'yellow')
#plt.plot(20, 3.5, marker = 'o', color = 'yellow')

plt.plot(
    [1, 20],
    [3.5, 3.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [2.5, 2.5, 3.5, 3.5],
    color = '#262626'
)

# third road
#plt.plot(1, 4.5, marker = 'o', color = 'green')
#plt.plot(20, 4.5, marker = 'o', color = 'green')
plt.plot(
    [1, 20],
    [4.5, 4.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [3.5, 3.5, 4.5, 4.5],
    color = '#4D4D4D'
)


#draw background
plt.plot(1, 4.5, marker = 'o', color = 'red')
plt.plot(20, 4.5, marker = 'o', color = 'red')
plt.plot(20, 20, marker = 'o', color = 'red')
plt.plot(1, 20, marker = 'o', color = 'red')

plt.fill(
    [1, 20, 20, 1],
    [4.5, 4.5, 20, 20],
    color = '#C3FFFF'
)

plt.xlim(1, 20)
plt.ylim(1, 20)
plt.show()
In [6]:
plt.figure(figsize = (22, 18))

# roads
#plt.plot(1, 1, marker = 'o', color = 'red')
#plt.plot(20, 1, marker = 'o', color = 'red')
#plt.plot(20, 2.5, marker = 'o', color = 'red')
#plt.plot(1, 2.5, marker = 'o', color = 'red')

plt.fill(
    [1, 20, 20, 1, 1],
    [1, 1, 2.5, 2.5, 1],
    color = '#010101'
)

# second road
#plt.plot(1, 3.5, marker = 'o', color = 'yellow')
#plt.plot(20, 3.5, marker = 'o', color = 'yellow')

plt.plot(
    [1, 20],
    [3.5, 3.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [2.5, 2.5, 3.5, 3.5],
    color = '#262626'
)

# third road
#plt.plot(1, 4.5, marker = 'o', color = 'green')
#plt.plot(20, 4.5, marker = 'o', color = 'green')
plt.plot(
    [1, 20],
    [4.5, 4.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [3.5, 3.5, 4.5, 4.5],
    color = '#4D4D4D'
)


#draw background
#plt.plot(1, 4.5, marker = 'o', color = 'red')
#plt.plot(20, 4.5, marker = 'o', color = 'red')
#plt.plot(20, 20, marker = 'o', color = 'red')
#plt.plot(1, 20, marker = 'o', color = 'red')

plt.fill(
    [1, 20, 20, 1],
    [4.5, 4.5, 20, 20],
    color = '#C3FFFF'
)

plt.xlim(1, 20)
plt.ylim(1, 20)
plt.show()

Draw first building from the left side

In [7]:
plt.figure(figsize = (22, 18))

# first road from bottom - starts here 
plt.fill(
    [1, 20, 20, 1, 1],
    [1, 1, 2.5, 2.5, 1],
    color = '#010101'
)
# first road from bottom - ends here 

# second road - starts here
plt.plot(
    [1, 20],
    [3.5, 3.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [2.5, 2.5, 3.5, 3.5],
    color = '#262626'
)
# second road - ends here


# third road - starts here
plt.plot(
    [1, 20],
    [4.5, 4.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [3.5, 3.5, 4.5, 4.5],
    color = '#4D4D4D'
)
# third road - ends here


# draw background or sky - starts here
plt.fill(
    [1, 20, 20, 1],
    [4.5, 4.5, 20, 20],
    color = '#C3FFFF'
)
#draw background or sky - ends here

# first building from left side - starts here
plt.plot(1.2, 4.5, marker = 'o', color = 'red')
plt.plot(5.2, 4.5, marker = 'o', color = 'red')
plt.plot(5.2, 10.5, marker = 'o', color = 'red')
plt.plot(1.2, 10.5, marker = 'o', color = 'red')

plt.plot(
    [1.2, 5.2, 5.2, 1.2, 1.2],
    [4.5, 4.5, 10.5, 10.5, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [1.2, 5.2, 5.2, 1.2, 1.2],
    [4.5, 4.5, 10.5, 10.5, 4.5],
    color = '#767676'
)

plt.xlim(1, 20)
plt.ylim(1, 20)
plt.show()

Roof of first building

In [8]:
plt.figure(figsize = (22, 18))

# first road from bottom - starts here 
plt.fill(
    [1, 20, 20, 1, 1],
    [1, 1, 2.5, 2.5, 1],
    color = '#010101'
)
# first road from bottom - ends here 

# second road - starts here
plt.plot(
    [1, 20],
    [3.5, 3.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [2.5, 2.5, 3.5, 3.5],
    color = '#262626'
)
# second road - ends here


# third road - starts here
plt.plot(
    [1, 20],
    [4.5, 4.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [3.5, 3.5, 4.5, 4.5],
    color = '#4D4D4D'
)
# third road - ends here


# draw background or sky - starts here
plt.fill(
    [1, 20, 20, 1],
    [4.5, 4.5, 20, 20],
    color = '#C3FFFF'
)
#draw background or sky - ends here

# first building from left side - starts here
plt.plot(1.2, 4.5, marker = 'o', color = 'red')
plt.plot(5.2, 4.5, marker = 'o', color = 'red')
plt.plot(5.2, 10.5, marker = 'o', color = 'red')
plt.plot(1.2, 10.5, marker = 'o', color = 'red')

plt.plot(
    [1.2, 5.2, 5.2, 1.2, 1.2],
    [4.5, 4.5, 10.5, 10.5, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [1.2, 5.2, 5.2, 1.2, 1.2],
    [4.5, 4.5, 10.5, 10.5, 4.5],
    color = '#767676'
)

#roof of first building - starts here
plt.plot(4.9, 10.9, marker = 'o', color = 'red')
plt.plot(1.5, 10.9, marker = 'o', color = 'red')
plt.fill(
    [1.2, 5.2, 4.9, 1.5, 1.2],
    [10.5, 10.5, 10.9, 10.9, 10.5],
    color = 'black'
)
#roof of first building - ends here
# first building from left side - ends here

plt.xlim(1, 20)
plt.ylim(1, 20)
plt.show()

Remove points of the first building outline and roof

In [9]:
plt.figure(figsize = (22, 18))

# first road from bottom - starts here 
plt.fill(
    [1, 20, 20, 1, 1],
    [1, 1, 2.5, 2.5, 1],
    color = '#010101'
)
# first road from bottom - ends here 

# second road - starts here
plt.plot(
    [1, 20],
    [3.5, 3.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [2.5, 2.5, 3.5, 3.5],
    color = '#262626'
)
# second road - ends here


# third road - starts here
plt.plot(
    [1, 20],
    [4.5, 4.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [3.5, 3.5, 4.5, 4.5],
    color = '#4D4D4D'
)
# third road - ends here


# draw background or sky - starts here
plt.fill(
    [1, 20, 20, 1],
    [4.5, 4.5, 20, 20],
    color = '#C3FFFF'
)
#draw background or sky - ends here

# first building from left side - starts here
plt.plot(
    [1.2, 5.2, 5.2, 1.2, 1.2],
    [4.5, 4.5, 10.5, 10.5, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [1.2, 5.2, 5.2, 1.2, 1.2],
    [4.5, 4.5, 10.5, 10.5, 4.5],
    color = '#767676'
)

#roof of first building - starts here
plt.fill(
    [1.2, 5.2, 4.9, 1.5, 1.2],
    [10.5, 10.5, 10.9, 10.9, 10.5],
    color = 'black'
)
#roof of first building - ends here
# first building from left side - ends here

plt.xlim(1, 20)
plt.ylim(1, 20)
plt.show()

First building door

In [10]:
plt.figure(figsize = (22, 18))

# first road from bottom - starts here 
plt.fill(
    [1, 20, 20, 1, 1],
    [1, 1, 2.5, 2.5, 1],
    color = '#010101'
)
# first road from bottom - ends here 

# second road - starts here
plt.plot(
    [1, 20],
    [3.5, 3.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [2.5, 2.5, 3.5, 3.5],
    color = '#262626'
)
# second road - ends here


# third road - starts here
plt.plot(
    [1, 20],
    [4.5, 4.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [3.5, 3.5, 4.5, 4.5],
    color = '#4D4D4D'
)
# third road - ends here


# draw background or sky - starts here
plt.fill(
    [1, 20, 20, 1],
    [4.5, 4.5, 20, 20],
    color = '#C3FFFF'
)
#draw background - ends here


# first building from left side - starts here
plt.plot(
    [5.2, 5.2, 1.2, 1.2],
    [4.5, 10.5, 10.5, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [1.2, 5.2, 5.2, 1.2, 1.2],
    [4.5, 4.5, 10.5, 10.5, 4.5],
    color = '#767676'
)

#roof of first building - starts here
plt.fill(
    [1.2, 5.2, 4.9, 1.5, 1.2],
    [10.5, 10.5, 10.9, 10.9, 10.5],
    color = 'black'
)
#roof of first building - ends here

## first building door - starts here
plt.plot(2.9, 4.5, marker = 'o', color = 'red')
plt.plot(3.5, 4.5, marker = 'o', color = 'red')
plt.plot(3.5, 5.5, marker = 'o', color = 'red')
plt.plot(2.9, 5.5, marker = 'o', color = 'red')


plt.plot(
    [2.9, 3.5, 3.5, 2.9],
    [4.5, 4.5, 5.5, 5.5],
    color = 'black'
)

plt.fill(
    [2.9, 3.5, 3.5, 2.9],
    [4.5, 4.5, 5.5, 5.5],
    color = '#383838'
)
## first building door - ends here
# first building from left side - ends here


plt.xlim(1, 20)
plt.ylim(1, 20)
plt.show()
In [11]:
plt.figure(figsize = (22, 18))

# first road from bottom - starts here 
plt.fill(
    [1, 20, 20, 1, 1],
    [1, 1, 2.5, 2.5, 1],
    color = '#010101'
)
# first road from bottom - ends here 

# second road - starts here
plt.plot(
    [1, 20],
    [3.5, 3.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [2.5, 2.5, 3.5, 3.5],
    color = '#262626'
)
# second road - ends here


# third road - starts here
plt.plot(
    [1, 20],
    [4.5, 4.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [3.5, 3.5, 4.5, 4.5],
    color = '#4D4D4D'
)
# third road - ends here


# draw background or sky - starts here
plt.fill(
    [1, 20, 20, 1],
    [4.5, 4.5, 20, 20],
    color = '#C3FFFF'
)
#draw background - ends here

# first building from left side - starts here
plt.plot(
    [5.2, 5.2, 1.2, 1.2],
    [4.5, 10.5, 10.5, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [1.2, 5.2, 5.2, 1.2, 1.2],
    [4.5, 4.5, 10.5, 10.5, 4.5],
    color = '#767676'
)

#roof of first building - starts here
plt.fill(
    [1.2, 5.2, 4.9, 1.5, 1.2],
    [10.5, 10.5, 10.9, 10.9, 10.5],
    color = 'black'
)
#roof of first building - ends here

## first building door - starts here
plt.plot(
    [2.9, 3.5, 3.5, 2.9],
    [4.5, 4.5, 5.5, 5.5],
    color = 'black'
)

plt.fill(
    [2.9, 3.5, 3.5, 2.9],
    [4.5, 4.5, 5.5, 5.5],
    color = '#383838'
)
## first building door - ends here
# first building from left side - ends here


plt.xlim(1, 20)
plt.ylim(1, 20)
plt.show()

First building - first row window

In [12]:
plt.figure(figsize = (22, 18))

# first road from bottom - starts here 
plt.fill(
    [1, 20, 20, 1, 1],
    [1, 1, 2.5, 2.5, 1],
    color = '#010101'
)
# first road from bottom - ends here 

# second road - starts here
plt.plot(
    [1, 20],
    [3.5, 3.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [2.5, 2.5, 3.5, 3.5],
    color = '#262626'
)
# second road - ends here


# third road - starts here
plt.plot(
    [1, 20],
    [4.5, 4.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [3.5, 3.5, 4.5, 4.5],
    color = '#4D4D4D'
)
# third road - ends here


# draw background or sky - starts here
plt.fill(
    [1, 20, 20, 1],
    [4.5, 4.5, 20, 20],
    color = '#C3FFFF'
)
#draw background - ends here

# first building from left side - starts here
plt.plot(
    [5.2, 5.2, 1.2, 1.2],
    [4.5, 10.5, 10.5, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [1.2, 5.2, 5.2, 1.2, 1.2],
    [4.5, 4.5, 10.5, 10.5, 4.5],
    color = '#767676'
)

#roof of first building - starts here
plt.fill(
    [1.2, 5.2, 4.9, 1.5, 1.2],
    [10.5, 10.5, 10.9, 10.9, 10.5],
    color = 'black'
)
#roof of first building - ends here

## first building door - starts here
plt.plot(
    [2.9, 3.5, 3.5, 2.9],
    [4.5, 4.5, 5.5, 5.5],
    color = 'black'
)

plt.fill(
    [2.9, 3.5, 3.5, 2.9],
    [4.5, 4.5, 5.5, 5.5],
    color = '#383838'
)
## first building door - ends here


## first building windows - starts here
### first rows windows - starts here
plt.plot(1.5, 5.75, marker = 'o', color = 'red')
plt.plot(1.95, 5.75, marker = 'o', color = 'red')
plt.plot(1.95, 6.25, marker = 'o', color = 'red')
plt.plot(1.5, 6.25, marker = 'o', color = 'red')

plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)


plt.plot(2.5, 5.75, marker = 'o', color = 'green')
plt.plot(2.95, 5.75, marker = 'o', color = 'green')
plt.plot(2.95, 6.25, marker = 'o', color = 'green')
plt.plot(2.5, 6.25, marker = 'o', color = 'green')

plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)

plt.plot(3.5, 5.75, marker = 'o', color = 'blue')
plt.plot(3.95, 5.75, marker = 'o', color = 'blue')
plt.plot(3.95, 6.25, marker = 'o', color = 'blue')
plt.plot(3.5, 6.25, marker = 'o', color = 'blue')

plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)

plt.plot(4.5, 5.75, marker = 'o', color = 'yellow')
plt.plot(4.95, 5.75, marker = 'o', color = 'yellow')
plt.plot(4.95, 6.25, marker = 'o', color = 'yellow')
plt.plot(4.5, 6.25, marker = 'o', color = 'yellow')

plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### first rows windows - ends here
## first building windows  - ends here

# first building from left side - ends here

plt.xlim(1, 20)
plt.ylim(1, 20)
plt.show()
In [13]:
plt.figure(figsize = (22, 18))

# first road from bottom - starts here 
plt.fill(
    [1, 20, 20, 1, 1],
    [1, 1, 2.5, 2.5, 1],
    color = '#010101'
)
# first road from bottom - ends here 

# second road - starts here
plt.plot(
    [1, 20],
    [3.5, 3.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [2.5, 2.5, 3.5, 3.5],
    color = '#262626'
)
# second road - ends here


# third road - starts here
plt.plot(
    [1, 20],
    [4.5, 4.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [3.5, 3.5, 4.5, 4.5],
    color = '#4D4D4D'
)
# third road - ends here


# draw background or sky - starts here
plt.fill(
    [1, 20, 20, 1],
    [4.5, 4.5, 20, 20],
    color = '#C3FFFF'
)
#draw background - ends here

# first building from left side - starts here
plt.plot(
    [5.2, 5.2, 1.2, 1.2],
    [4.5, 10.5, 10.5, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [1.2, 5.2, 5.2, 1.2, 1.2],
    [4.5, 4.5, 10.5, 10.5, 4.5],
    color = '#767676'
)

#roof of first building - starts here
plt.fill(
    [1.2, 5.2, 4.9, 1.5, 1.2],
    [10.5, 10.5, 10.9, 10.9, 10.5],
    color = 'black'
)
#roof of first building - ends here

## first building door - starts here
plt.plot(
    [2.9, 3.5, 3.5, 2.9],
    [4.5, 4.5, 5.5, 5.5],
    color = 'black'
)

plt.fill(
    [2.9, 3.5, 3.5, 2.9],
    [4.5, 4.5, 5.5, 5.5],
    color = '#383838'
)
## first building door - ends here


## first building windows - starts here
### first rows windows - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)

plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)

plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)

plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### first rows windows - ends here
## first building windows  - ends here

# first building from left side - ends here

plt.xlim(1, 20)
plt.ylim(1, 20)
plt.show()

First building - second row of windows

In [14]:
plt.figure(figsize = (22, 18))

# first road from bottom - starts here 
plt.fill(
    [1, 20, 20, 1, 1],
    [1, 1, 2.5, 2.5, 1],
    color = '#010101'
)
# first road from bottom - ends here 

# second road - starts here
plt.plot(
    [1, 20],
    [3.5, 3.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [2.5, 2.5, 3.5, 3.5],
    color = '#262626'
)
# second road - ends here


# third road - starts here
plt.plot(
    [1, 20],
    [4.5, 4.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [3.5, 3.5, 4.5, 4.5],
    color = '#4D4D4D'
)
# third road - ends here


# draw background or sky - starts here
plt.fill(
    [1, 20, 20, 1],
    [4.5, 4.5, 20, 20],
    color = '#C3FFFF'
)
#draw background - ends here

# first building from left side - starts here
plt.plot(
    [5.2, 5.2, 1.2, 1.2],
    [4.5, 10.5, 10.5, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [1.2, 5.2, 5.2, 1.2, 1.2],
    [4.5, 4.5, 10.5, 10.5, 4.5],
    color = '#767676'
)

#roof of first building - starts here
plt.fill(
    [1.2, 5.2, 4.9, 1.5, 1.2],
    [10.5, 10.5, 10.9, 10.9, 10.5],
    color = 'black'
)
#roof of first building - ends here

## first building door - starts here
plt.plot(
    [2.9, 3.5, 3.5, 2.9],
    [4.5, 4.5, 5.5, 5.5],
    color = 'black'
)

plt.fill(
    [2.9, 3.5, 3.5, 2.9],
    [4.5, 4.5, 5.5, 5.5],
    color = '#383838'
)
## first building door - ends here

## first building - windows - first row - starts here
### first window of first row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### first window of first row - ends here

### second window of first row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### second window of first row - ends here

### third window of first row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### third window of first row - ends here

### fourth window of first row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### fourth window of first row - ends here
## first building - windows - first row - ends here

## second building - windows - second row - starts here
### first window of second row - starts here
plt.plot(1.5, 6.75, marker = 'o', color = 'red')
plt.plot(1.95, 6.75, marker = 'o', color = 'red')
plt.plot(1.95, 7.25, marker = 'o', color = 'red')
plt.plot(1.5, 7.25, marker = 'o', color = 'red')

plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### first window of second row - ends here


### second window of second row - starts here
plt.plot(2.5, 6.75, marker = 'o', color = 'green')
plt.plot(2.95, 6.75, marker = 'o', color = 'green')
plt.plot(2.95, 7.25, marker = 'o', color = 'green')
plt.plot(2.5, 7.25, marker = 'o', color = 'green')

plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### second window of second row - ends here

### third window of second row - starts here
plt.plot(3.5, 6.75, marker = 'o', color = 'blue')
plt.plot(3.95, 6.75, marker = 'o', color = 'blue')
plt.plot(3.95, 7.25, marker = 'o', color = 'blue')
plt.plot(3.5, 7.25, marker = 'o', color = 'blue')

plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### third window of second row - ends here

### fourth window of second row - starts here
plt.plot(4.5, 6.75, marker = 'o', color = 'yellow')
plt.plot(4.95, 6.75, marker = 'o', color = 'yellow')
plt.plot(4.95, 7.25, marker = 'o', color = 'yellow')
plt.plot(4.5, 7.25, marker = 'o', color = 'yellow')

plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### fourth window of second row - ends here
## second building - windows - second row - ends here

# first building from left side - ends here


plt.xlim(1, 20)
plt.ylim(1, 20)
plt.show()

All windows of first building

In [15]:
plt.figure(figsize = (22, 18))

# first road from bottom - starts here 
plt.fill(
    [1, 20, 20, 1, 1],
    [1, 1, 2.5, 2.5, 1],
    color = '#010101'
)
# first road from bottom - ends here 

# second road - starts here
plt.plot(
    [1, 20],
    [3.5, 3.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [2.5, 2.5, 3.5, 3.5],
    color = '#262626'
)
# second road - ends here


# third road - starts here
plt.plot(
    [1, 20],
    [4.5, 4.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [3.5, 3.5, 4.5, 4.5],
    color = '#4D4D4D'
)
# third road - ends here


# draw background or sky - starts here
plt.fill(
    [1, 20, 20, 1],
    [4.5, 4.5, 20, 20],
    color = '#C3FFFF'
)
#draw background - ends here

plt.plot(
    [5.2, 5.2, 1.2, 1.2],
    [4.5, 10.5, 10.5, 4.5],
    color = 'black', lw = 2
)

# first building from left side - starts here
plt.fill(
    [1.2, 5.2, 5.2, 1.2, 1.2],
    [4.5, 4.5, 10.5, 10.5, 4.5],
    color = '#767676'
)

#roof of first building - starts here
plt.fill(
    [1.2, 5.2, 4.9, 1.5, 1.2],
    [10.5, 10.5, 10.9, 10.9, 10.5],
    color = 'black'
)
#roof of first building - ends here

## first building door - starts here
plt.plot(
    [2.9, 3.5, 3.5, 2.9],
    [4.5, 4.5, 5.5, 5.5],
    color = 'black'
)

plt.fill(
    [2.9, 3.5, 3.5, 2.9],
    [4.5, 4.5, 5.5, 5.5],
    color = '#383838'
)
## first building door - ends here

##***************************************************
## first building - windows - first row - starts here
### first window of first row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### first window of first row - ends here

### second window of first row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### second window of first row - ends here

### third window of first row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### third window of first row - ends here

### fourth window of first row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### fourth window of first row - ends here
## first building - windows - first row - ends here
##*************************************************

##*************************************************
## first building - windows - second row - starts here
### first window of second row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### first window of second row - ends here

### second window of second row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### second window of second row - ends here

### third window of second row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### third window of second row - ends here

### fourth window of second row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### fourth window of second row - ends here
## first building - windows - second row - ends here
##*************************************************


##*************************************************
## first building - windows - third row - starts here
### first window of third row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### first window of third row - ends here
### second window of third row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### second window of third row - ends here
### third window of third row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### third window of third row - ends here
### fourth window of third row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### fourth window of third row - ends here
## first building - windows - third row - ends here
##*************************************************


##*************************************************
## first building - windows - fourth row - starts here
### first window of fourth row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### first window of fourth row - ends here
### second window of fourth row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### second window of fourth row - ends here
### third window of fourth row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### third window of fourth row - ends here
### fourth window of fourth row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### fourth window of fourth row - ends here
## first building - windows - fourth row - ends here
##*************************************************

##*************************************************
## first building - windows - fifth row - starts here
### first window of fifth row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### first window of fifth row - ends here
### second window of fifth row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### second window of fifth row - ends here
### third window of fifth row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### third window of fifth row - ends here
### fourth window of fifth row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### fourth window of fifth row - ends here
## first building - windows - fifth row - ends here
##*************************************************
# first building from left side - ends here


plt.xlim(1, 20)
plt.ylim(1, 20)
plt.show()

Second building

second building outline

In [16]:
plt.figure(figsize = (22, 18))

# first road from bottom - starts here 
plt.fill(
    [1, 20, 20, 1, 1],
    [1, 1, 2.5, 2.5, 1],
    color = '#010101'
)
# first road from bottom - ends here 

# second road - starts here
plt.plot(
    [1, 20],
    [3.5, 3.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [2.5, 2.5, 3.5, 3.5],
    color = '#262626'
)
# second road - ends here


# third road - starts here
plt.plot(
    [1, 20],
    [4.5, 4.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [3.5, 3.5, 4.5, 4.5],
    color = '#4D4D4D'
)
# third road - ends here


# draw background or sky - starts here
plt.fill(
    [1, 20, 20, 1],
    [4.5, 4.5, 20, 20],
    color = '#C3FFFF'
)
#draw background - ends here

# first building from left side - starts here
plt.plot(
    [5.2, 5.2, 1.2, 1.2],
    [4.5, 10.5, 10.5, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [1.2, 5.2, 5.2, 1.2, 1.2],
    [4.5, 4.5, 10.5, 10.5, 4.5],
    color = '#767676'
)

#roof of first building - starts here
plt.fill(
    [1.2, 5.2, 4.9, 1.5, 1.2],
    [10.5, 10.5, 10.9, 10.9, 10.5],
    color = 'black'
)
#roof of first building - ends here

## first building door - starts here
plt.plot(
    [2.9, 3.5, 3.5, 2.9],
    [4.5, 4.5, 5.5, 5.5],
    color = 'black'
)

plt.fill(
    [2.9, 3.5, 3.5, 2.9],
    [4.5, 4.5, 5.5, 5.5],
    color = '#383838'
)
## first building door - ends here

##***************************************************
## first building - windows - first row - starts here
### first window of first row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### first window of first row - ends here

### second window of first row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### second window of first row - ends here

### third window of first row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### third window of first row - ends here

### fourth window of first row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### fourth window of first row - ends here
## first building - windows - first row - ends here
##*************************************************

##*************************************************
## first building - windows - second row - starts here
### first window of second row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### first window of second row - ends here

### second window of second row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### second window of second row - ends here

### third window of second row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### third window of second row - ends here

### fourth window of second row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### fourth window of second row - ends here
## first building - windows - second row - ends here
##*************************************************


##*************************************************
## first building - windows - third row - starts here
### first window of third row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### first window of third row - ends here
### second window of third row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### second window of third row - ends here
### third window of third row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### third window of third row - ends here
### fourth window of third row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### fourth window of third row - ends here
## first building - windows - third row - ends here
##*************************************************


##*************************************************
## first building - windows - fourth row - starts here
### first window of fourth row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### first window of fourth row - ends here
### second window of fourth row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### second window of fourth row - ends here
### third window of fourth row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### third window of fourth row - ends here
### fourth window of fourth row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### fourth window of fourth row - ends here
## first building - windows - fourth row - ends here
##*************************************************

##*************************************************
## first building - windows - fifth row - starts here
### first window of fifth row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### first window of fifth row - ends here
### second window of fifth row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### second window of fifth row - ends here
### third window of fifth row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### third window of fifth row - ends here
### fourth window of fifth row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### fourth window of fifth row - ends here
## first building - windows - fifth row - ends here
##*************************************************
# first building from left side - ends here


# second building - starts here
## second building outline - starts here
plt.plot(5.8, 4.5, marker = 'o', color = 'red')
plt.plot(10, 4.5, marker = 'o', color = 'red')
plt.plot(10, 16, marker = 'o', color = 'red')
plt.plot(5.8, 16, marker = 'o', color = 'red')

plt.plot(
    [5.8, 10, 10, 5.8, 5.8],
    [4.5, 4.5, 16, 16, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [5.8, 10, 10, 5.8],
    [4.5, 4.5, 16, 16],
    color = '#767676'
)
## second building outline - ends here

## second building roof - starts here
plt.plot(5.8, 16, marker = 'o', color = 'red')
plt.plot(10, 16, marker = 'o', color = 'blue')
plt.plot(9.8, 16.2, marker = 'o', color = 'yellow')
plt.plot(6, 16.2, marker = 'o', color = 'green')

plt.fill(
    [5.8, 10, 9.8, 6, 5.8],
    [16, 16, 16.2, 16.2, 16],
    color = 'black'
)

plt.fill(
    [5.8, 10, 9.8, 6, 5.8],
    [16, 16, 16.2, 16.2, 16],
    color = '#D0E5E8'
)
## second building roof - ends here

# second building - ends here


plt.xlim(1, 20)
plt.ylim(1, 20)
plt.show()

Second building door

In [17]:
plt.figure(figsize = (22, 18))

# first road from bottom - starts here 
plt.fill(
    [1, 20, 20, 1, 1],
    [1, 1, 2.5, 2.5, 1],
    color = '#010101'
)
# first road from bottom - ends here 

# second road - starts here
plt.plot(
    [1, 20],
    [3.5, 3.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [2.5, 2.5, 3.5, 3.5],
    color = '#262626'
)
# second road - ends here


# third road - starts here
plt.plot(
    [1, 20],
    [4.5, 4.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [3.5, 3.5, 4.5, 4.5],
    color = '#4D4D4D'
)
# third road - ends here


# draw background or sky - starts here
plt.fill(
    [1, 20, 20, 1],
    [4.5, 4.5, 20, 20],
    color = '#C3FFFF'
)
#draw background - ends here

# first building from left side - starts here
plt.plot(
    [5.2, 5.2, 1.2, 1.2],
    [4.5, 10.5, 10.5, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [1.2, 5.2, 5.2, 1.2, 1.2],
    [4.5, 4.5, 10.5, 10.5, 4.5],
    color = '#767676'
)

#roof of first building - starts here
plt.fill(
    [1.2, 5.2, 4.9, 1.5, 1.2],
    [10.5, 10.5, 10.9, 10.9, 10.5],
    color = 'black'
)
#roof of first building - ends here

## first building door - starts here
plt.plot(
    [2.9, 3.5, 3.5, 2.9],
    [4.5, 4.5, 5.5, 5.5],
    color = 'black'
)

plt.fill(
    [2.9, 3.5, 3.5, 2.9],
    [4.5, 4.5, 5.5, 5.5],
    color = '#383838'
)
## first building door - ends here

##***************************************************
## first building - windows - first row - starts here
### first window of first row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### first window of first row - ends here

### second window of first row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### second window of first row - ends here

### third window of first row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### third window of first row - ends here

### fourth window of first row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### fourth window of first row - ends here
## first building - windows - first row - ends here
##*************************************************

##*************************************************
## first building - windows - second row - starts here
### first window of second row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### first window of second row - ends here

### second window of second row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### second window of second row - ends here

### third window of second row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### third window of second row - ends here

### fourth window of second row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### fourth window of second row - ends here
## first building - windows - second row - ends here
##*************************************************


##*************************************************
## first building - windows - third row - starts here
### first window of third row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### first window of third row - ends here
### second window of third row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### second window of third row - ends here
### third window of third row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### third window of third row - ends here
### fourth window of third row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### fourth window of third row - ends here
## first building - windows - third row - ends here
##*************************************************


##*************************************************
## first building - windows - fourth row - starts here
### first window of fourth row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### first window of fourth row - ends here
### second window of fourth row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### second window of fourth row - ends here
### third window of fourth row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### third window of fourth row - ends here
### fourth window of fourth row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### fourth window of fourth row - ends here
## first building - windows - fourth row - ends here
##*************************************************

##*************************************************
## first building - windows - fifth row - starts here
### first window of fifth row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### first window of fifth row - ends here
### second window of fifth row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### second window of fifth row - ends here
### third window of fifth row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### third window of fifth row - ends here
### fourth window of fifth row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### fourth window of fifth row - ends here
## first building - windows - fifth row - ends here
##*************************************************
# first building from left side - ends here


# second building - starts here
## second building outline - starts here
plt.plot(
    [5.8, 10, 10, 5.8, 5.8],
    [4.5, 4.5, 16, 16, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [5.8, 10, 10, 5.8],
    [4.5, 4.5, 16, 16],
    color = '#767676'
)
## second building outline - ends here

## second building roof - starts here
plt.fill(
    [5.8, 10, 9.8, 6, 5.8],
    [16, 16, 16.2, 16.2, 16],
    color = 'black'
)

plt.fill(
    [5.8, 10, 9.8, 6, 5.8],
    [16, 16, 16.2, 16.2, 16],
    color = '#D0E5E8'
)
## second building roof - ends here

## second building door - starts here
plt.plot(8, 4.5, marker = 'o', color = 'green')
plt.plot(9, 4.5, marker = 'o', color = 'green')
plt.plot(9, 6, marker = 'o', color = 'green')
plt.plot(8, 6, marker = 'o', color = 'green')

plt.plot(
    [8, 9, 9, 8, 8],
    [4.5, 4.5, 6, 6, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [8, 9, 9, 8, 8],
    [4.5, 4.5, 6, 6, 4.5],
    color = '#383838'
)
## second building door - ends here

# second building - ends here


plt.xlim(1, 20)
plt.ylim(1, 20)
plt.show()

second building windows

In [18]:
plt.figure(figsize = (22, 18))

# first road from bottom - starts here 
plt.fill(
    [1, 20, 20, 1, 1],
    [1, 1, 2.5, 2.5, 1],
    color = '#010101'
)
# first road from bottom - ends here 

# second road - starts here
plt.plot(
    [1, 20],
    [3.5, 3.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [2.5, 2.5, 3.5, 3.5],
    color = '#262626'
)
# second road - ends here


# third road - starts here
plt.plot(
    [1, 20],
    [4.5, 4.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [3.5, 3.5, 4.5, 4.5],
    color = '#4D4D4D'
)
# third road - ends here


# draw background or sky - starts here
plt.fill(
    [1, 20, 20, 1],
    [4.5, 4.5, 20, 20],
    color = '#C3FFFF'
)
#draw background - ends here

# first building from left side - starts here
plt.plot(
    [5.2, 5.2, 1.2, 1.2],
    [4.5, 10.5, 10.5, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [1.2, 5.2, 5.2, 1.2, 1.2],
    [4.5, 4.5, 10.5, 10.5, 4.5],
    color = '#767676'
)

#roof of first building - starts here
plt.fill(
    [1.2, 5.2, 4.9, 1.5, 1.2],
    [10.5, 10.5, 10.9, 10.9, 10.5],
    color = 'black'
)
#roof of first building - ends here

## first building door - starts here
plt.plot(
    [2.9, 3.5, 3.5, 2.9],
    [4.5, 4.5, 5.5, 5.5],
    color = 'black'
)

plt.fill(
    [2.9, 3.5, 3.5, 2.9],
    [4.5, 4.5, 5.5, 5.5],
    color = '#383838'
)
## first building door - ends here

##***************************************************
## first building - windows - first row - starts here
### first window of first row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### first window of first row - ends here

### second window of first row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### second window of first row - ends here

### third window of first row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### third window of first row - ends here

### fourth window of first row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### fourth window of first row - ends here
## first building - windows - first row - ends here
##*************************************************

##*************************************************
## first building - windows - second row - starts here
### first window of second row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### first window of second row - ends here

### second window of second row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### second window of second row - ends here

### third window of second row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### third window of second row - ends here

### fourth window of second row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### fourth window of second row - ends here
## first building - windows - second row - ends here
##*************************************************


##*************************************************
## first building - windows - third row - starts here
### first window of third row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### first window of third row - ends here
### second window of third row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### second window of third row - ends here
### third window of third row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### third window of third row - ends here
### fourth window of third row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### fourth window of third row - ends here
## first building - windows - third row - ends here
##*************************************************


##*************************************************
## first building - windows - fourth row - starts here
### first window of fourth row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### first window of fourth row - ends here
### second window of fourth row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### second window of fourth row - ends here
### third window of fourth row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### third window of fourth row - ends here
### fourth window of fourth row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### fourth window of fourth row - ends here
## first building - windows - fourth row - ends here
##*************************************************

##*************************************************
## first building - windows - fifth row - starts here
### first window of fifth row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### first window of fifth row - ends here
### second window of fifth row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### second window of fifth row - ends here
### third window of fifth row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### third window of fifth row - ends here
### fourth window of fifth row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### fourth window of fifth row - ends here
## first building - windows - fifth row - ends here
##*************************************************
# first building from left side - ends here


# second building - starts here
## second building outline - starts here
plt.plot(
    [5.8, 10, 10, 5.8, 5.8],
    [4.5, 4.5, 16, 16, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [5.8, 10, 10, 5.8],
    [4.5, 4.5, 16, 16],
    color = '#767676'
)
## second building outline - ends here

## second building roof - starts here
plt.fill(
    [5.8, 10, 9.8, 6, 5.8],
    [16, 16, 16.2, 16.2, 16],
    color = 'black'
)

plt.fill(
    [5.8, 10, 9.8, 6, 5.8],
    [16, 16, 16.2, 16.2, 16],
    color = '#D0E5E8'
)
## second building roof - ends here

## second building door - starts here
plt.plot(
    [8, 9, 9, 8, 8],
    [4.5, 4.5, 6, 6, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [8, 9, 9, 8, 8],
    [4.5, 4.5, 6, 6, 4.5],
    color = '#383838'
)
## second building door - ends here
## second building windows - starts here
### second building first row windows - starts here
plt.plot(6.2, 6.5, marker = 'o', color = 'red')
plt.plot(7, 6.5, marker = 'o', color = 'red')
plt.plot(7, 7.4, marker = 'o', color = 'red')
plt.plot(6.2, 7.4, marker = 'o', color = 'red')
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = '#01C0F6'
)

plt.plot(7.5, 6.5, marker = 'o', color = 'red')
plt.plot(8.3, 6.5, marker = 'o', color = 'red')
plt.plot(8.3, 7.4, marker = 'o', color = 'red')
plt.plot(7.5, 7.4, marker = 'o', color = 'red')
plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = '#01C0F6'
)


plt.plot(8.8, 6.5, marker = 'o', color = 'red')
plt.plot(9.6, 6.5, marker = 'o', color = 'red')
plt.plot(9.6, 7.4, marker = 'o', color = 'red')
plt.plot(8.8, 7.4, marker = 'o', color = 'red')
plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = '#01C0F6'
)
### second building first row windows - starts here
## second building windows - ends here

# second building - ends here


plt.xlim(1, 20)
plt.ylim(1, 20)
plt.show()
In [19]:
plt.figure(figsize = (22, 18))

# first road from bottom - starts here 
plt.fill(
    [1, 20, 20, 1, 1],
    [1, 1, 2.5, 2.5, 1],
    color = '#010101'
)
# first road from bottom - ends here 

# second road - starts here
plt.plot(
    [1, 20],
    [3.5, 3.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [2.5, 2.5, 3.5, 3.5],
    color = '#262626'
)
# second road - ends here


# third road - starts here
plt.plot(
    [1, 20],
    [4.5, 4.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [3.5, 3.5, 4.5, 4.5],
    color = '#4D4D4D'
)
# third road - ends here


# draw background or sky - starts here
plt.fill(
    [1, 20, 20, 1],
    [4.5, 4.5, 20, 20],
    color = '#C3FFFF'
)
#draw background - ends here

# first building from left side - starts here
plt.plot(
    [5.2, 5.2, 1.2, 1.2],
    [4.5, 10.5, 10.5, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [1.2, 5.2, 5.2, 1.2, 1.2],
    [4.5, 4.5, 10.5, 10.5, 4.5],
    color = '#767676'
)

#roof of first building - starts here
plt.fill(
    [1.2, 5.2, 4.9, 1.5, 1.2],
    [10.5, 10.5, 10.9, 10.9, 10.5],
    color = 'black'
)
#roof of first building - ends here

## first building door - starts here
plt.plot(
    [2.9, 3.5, 3.5, 2.9],
    [4.5, 4.5, 5.5, 5.5],
    color = 'black'
)

plt.fill(
    [2.9, 3.5, 3.5, 2.9],
    [4.5, 4.5, 5.5, 5.5],
    color = '#383838'
)
## first building door - ends here

##***************************************************
## first building - windows - first row - starts here
### first window of first row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### first window of first row - ends here

### second window of first row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### second window of first row - ends here

### third window of first row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### third window of first row - ends here

### fourth window of first row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### fourth window of first row - ends here
## first building - windows - first row - ends here
##*************************************************

##*************************************************
## first building - windows - second row - starts here
### first window of second row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### first window of second row - ends here

### second window of second row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### second window of second row - ends here

### third window of second row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### third window of second row - ends here

### fourth window of second row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### fourth window of second row - ends here
## first building - windows - second row - ends here
##*************************************************


##*************************************************
## first building - windows - third row - starts here
### first window of third row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### first window of third row - ends here
### second window of third row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### second window of third row - ends here
### third window of third row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### third window of third row - ends here
### fourth window of third row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### fourth window of third row - ends here
## first building - windows - third row - ends here
##*************************************************


##*************************************************
## first building - windows - fourth row - starts here
### first window of fourth row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### first window of fourth row - ends here
### second window of fourth row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### second window of fourth row - ends here
### third window of fourth row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### third window of fourth row - ends here
### fourth window of fourth row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### fourth window of fourth row - ends here
## first building - windows - fourth row - ends here
##*************************************************

##*************************************************
## first building - windows - fifth row - starts here
### first window of fifth row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### first window of fifth row - ends here
### second window of fifth row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### second window of fifth row - ends here
### third window of fifth row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### third window of fifth row - ends here
### fourth window of fifth row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### fourth window of fifth row - ends here
## first building - windows - fifth row - ends here
##*************************************************
# first building from left side - ends here


# second building - starts here
## second building outline - starts here
plt.plot(
    [5.8, 10, 10, 5.8, 5.8],
    [4.5, 4.5, 16, 16, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [5.8, 10, 10, 5.8],
    [4.5, 4.5, 16, 16],
    color = '#767676'
)
## second building outline - ends here

## second building roof - starts here
plt.fill(
    [5.8, 10, 9.8, 6, 5.8],
    [16, 16, 16.2, 16.2, 16],
    color = 'black'
)

plt.fill(
    [5.8, 10, 9.8, 6, 5.8],
    [16, 16, 16.2, 16.2, 16],
    color = '#D0E5E8'
)
## second building roof - ends here

## second building door - starts here
plt.plot(
    [8, 9, 9, 8, 8],
    [4.5, 4.5, 6, 6, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [8, 9, 9, 8, 8],
    [4.5, 4.5, 6, 6, 4.5],
    color = '#383838'
)
## second building door - ends here
## second building windows - starts here
### second building first row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = '#01C0F6'
)
### second building first row windows - starts here
### second building second row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = '#01C0F6'
)
### second building second row windows - ends here
### second building third row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = '#01C0F6'
)
### second building third row windows - ends here
### second building fourth row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = '#01C0F6'
)
### second building fourth row windows - ends here
### second building fifth row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = '#01C0F6'
)
### second building fifth row windows - ends here

## second building windows - ends here

# second building - ends here


plt.xlim(1, 20)
plt.ylim(1, 20)
plt.show()

Draw third building behind first and second

In [20]:
plt.figure(figsize = (22, 18))

# first road from bottom - starts here 
plt.fill(
    [1, 20, 20, 1, 1],
    [1, 1, 2.5, 2.5, 1],
    color = '#010101'
)
# first road from bottom - ends here 

# second road - starts here
plt.plot(
    [1, 20],
    [3.5, 3.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [2.5, 2.5, 3.5, 3.5],
    color = '#262626'
)
# second road - ends here


# third road - starts here
plt.plot(
    [1, 20],
    [4.5, 4.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [3.5, 3.5, 4.5, 4.5],
    color = '#4D4D4D'
)
# third road - ends here


# draw background or sky - starts here
plt.fill(
    [1, 20, 20, 1],
    [4.5, 4.5, 20, 20],
    color = '#C3FFFF'
)
#draw background - ends here

# first building from left side - starts here
plt.plot(
    [5.2, 5.2, 1.2, 1.2],
    [4.5, 10.5, 10.5, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [1.2, 5.2, 5.2, 1.2, 1.2],
    [4.5, 4.5, 10.5, 10.5, 4.5],
    color = '#767676'
)

#roof of first building - starts here
plt.fill(
    [1.2, 5.2, 4.9, 1.5, 1.2],
    [10.5, 10.5, 10.9, 10.9, 10.5],
    color = 'black'
)
#roof of first building - ends here

## first building door - starts here
plt.plot(
    [2.9, 3.5, 3.5, 2.9],
    [4.5, 4.5, 5.5, 5.5],
    color = 'black'
)

plt.fill(
    [2.9, 3.5, 3.5, 2.9],
    [4.5, 4.5, 5.5, 5.5],
    color = '#383838'
)
## first building door - ends here

##***************************************************
## first building - windows - first row - starts here
### first window of first row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### first window of first row - ends here

### second window of first row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### second window of first row - ends here

### third window of first row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### third window of first row - ends here

### fourth window of first row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### fourth window of first row - ends here
## first building - windows - first row - ends here
##*************************************************

##*************************************************
## first building - windows - second row - starts here
### first window of second row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### first window of second row - ends here

### second window of second row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### second window of second row - ends here

### third window of second row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### third window of second row - ends here

### fourth window of second row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### fourth window of second row - ends here
## first building - windows - second row - ends here
##*************************************************


##*************************************************
## first building - windows - third row - starts here
### first window of third row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### first window of third row - ends here
### second window of third row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### second window of third row - ends here
### third window of third row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### third window of third row - ends here
### fourth window of third row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### fourth window of third row - ends here
## first building - windows - third row - ends here
##*************************************************


##*************************************************
## first building - windows - fourth row - starts here
### first window of fourth row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### first window of fourth row - ends here
### second window of fourth row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### second window of fourth row - ends here
### third window of fourth row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### third window of fourth row - ends here
### fourth window of fourth row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### fourth window of fourth row - ends here
## first building - windows - fourth row - ends here
##*************************************************

##*************************************************
## first building - windows - fifth row - starts here
### first window of fifth row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### first window of fifth row - ends here
### second window of fifth row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### second window of fifth row - ends here
### third window of fifth row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### third window of fifth row - ends here
### fourth window of fifth row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### fourth window of fifth row - ends here
## first building - windows - fifth row - ends here
##*************************************************
# first building from left side - ends here


# second building - starts here
## second building outline - starts here
plt.plot(
    [5.8, 10, 10, 5.8, 5.8],
    [4.5, 4.5, 16, 16, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [5.8, 10, 10, 5.8],
    [4.5, 4.5, 16, 16],
    color = '#767676'
)
## second building outline - ends here

## second building roof - starts here
plt.fill(
    [5.8, 10, 9.8, 6, 5.8],
    [16, 16, 16.2, 16.2, 16],
    color = 'black'
)

plt.fill(
    [5.8, 10, 9.8, 6, 5.8],
    [16, 16, 16.2, 16.2, 16],
    color = '#D0E5E8'
)
## second building roof - ends here

## second building door - starts here
plt.plot(
    [8, 9, 9, 8, 8],
    [4.5, 4.5, 6, 6, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [8, 9, 9, 8, 8],
    [4.5, 4.5, 6, 6, 4.5],
    color = '#383838'
)
## second building door - ends here
## second building windows - starts here
### second building first row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = '#01C0F6'
)
### second building first row windows - starts here
### second building second row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = '#01C0F6'
)
### second building second row windows - ends here
### second building third row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = '#01C0F6'
)
### second building third row windows - ends here
### second building fourth row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = '#01C0F6'
)
### second building fourth row windows - ends here
### second building fifth row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = '#01C0F6'
)
### second building fifth row windows - ends here
## second building windows - ends here
# second building - ends here

# third building - starts here
plt.plot(4.8, 4.5, marker = 'o', color = 'purple')
plt.plot(5.8, 4.5, marker = 'o', color = 'yellow')
plt.plot(5.8, 12.5, marker = 'o', color = 'red')
plt.plot(4.8, 12.5, marker = 'o', color = 'green')
plt.plot(
    [4.8, 5.8, 5.8, 4.8, 4.8],
    [4.5, 4.5, 12.5, 12.5, 4.5],
    color = 'black'
)

plt.fill(
    [4.8, 5.8, 5.8, 4.8, 4.8],
    [4.5, 4.5, 12.5, 12.5, 4.5],
    color = '#6F7B71'
)

## third building roof - starts here
plt.plot(4.4, 12.5, marker = 'o', color = 'blue')
plt.plot(5.8, 12.5, marker = 'o', color = 'red')
plt.plot(5.8, 13.2, marker = 'o', color = 'purple')
plt.plot(4.6, 13.2, marker = 'o', color = 'green')


plt.fill(
    [4.4, 5.8, 5.8, 4.6, 4.4],
    [12.5, 12.5, 13.2, 13.2, 12.5],
    color = '#FD9427'
)
## third building roof - ends here

# third building - ends here

plt.xlim(1, 20)
plt.ylim(1, 20)
plt.show()

It is coming in front of first building, so move code before first building.

In [21]:
plt.figure(figsize = (22, 18))

# first road from bottom - starts here 
plt.fill(
    [1, 20, 20, 1, 1],
    [1, 1, 2.5, 2.5, 1],
    color = '#010101'
)
# first road from bottom - ends here 

# second road - starts here
plt.plot(
    [1, 20],
    [3.5, 3.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [2.5, 2.5, 3.5, 3.5],
    color = '#262626'
)
# second road - ends here


# third road - starts here
plt.plot(
    [1, 20],
    [4.5, 4.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [3.5, 3.5, 4.5, 4.5],
    color = '#4D4D4D'
)
# third road - ends here


# draw background or sky - starts here
plt.fill(
    [1, 20, 20, 1],
    [4.5, 4.5, 20, 20],
    color = '#C3FFFF'
)
#draw background - ends here

# third building - starts here
## third building outline - starts here
plt.plot(
    [4.8, 5.8, 5.8, 4.8, 4.8],
    [4.5, 4.5, 12.5, 12.5, 10.5],
    color = 'black'
)

plt.fill(
    [4.8, 5.8, 5.8, 4.8, 4.8],
    [4.5, 4.5, 12.5, 12.5, 4.5],
    color = '#6F7B71'
)
## thord building outline - ends here

## third building roof - starts here
plt.plot(
    [4.4, 5.8, 5.8, 4.6, 4.4],
    [12.5, 12.5, 13.2, 13.2, 12.5],
    color = 'black'
)
plt.fill(
    [4.4, 5.8, 5.8, 4.6, 4.4],
    [12.5, 12.5, 13.2, 13.2, 12.5],
    color = '#FD9427'
)
## third building roof - ends here

## third building windows - starts here
plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [10.75, 10.75, 11.25, 11.25, 10.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [10.75, 10.75, 11.25, 11.25, 10.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [11.75, 11.75, 12.25, 12.25, 11.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [11.75, 11.75, 12.25, 12.25, 11.75],
    color = '#04BEF9'
)

## third building windows - ends here

# third building - ends here




# first building from left side - starts here
plt.plot(
    [5.2, 5.2, 1.2, 1.2],
    [4.5, 10.5, 10.5, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [1.2, 5.2, 5.2, 1.2, 1.2],
    [4.5, 4.5, 10.5, 10.5, 4.5],
    color = '#767676'
)

#roof of first building - starts here
plt.fill(
    [1.2, 5.2, 4.9, 1.5, 1.2],
    [10.5, 10.5, 10.9, 10.9, 10.5],
    color = 'black'
)
#roof of first building - ends here

## first building door - starts here
plt.plot(
    [2.9, 3.5, 3.5, 2.9],
    [4.5, 4.5, 5.5, 5.5],
    color = 'black'
)

plt.fill(
    [2.9, 3.5, 3.5, 2.9],
    [4.5, 4.5, 5.5, 5.5],
    color = '#383838'
)
## first building door - ends here

##***************************************************
## first building - windows - first row - starts here
### first window of first row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### first window of first row - ends here

### second window of first row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### second window of first row - ends here

### third window of first row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### third window of first row - ends here

### fourth window of first row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### fourth window of first row - ends here
## first building - windows - first row - ends here
##*************************************************

##*************************************************
## first building - windows - second row - starts here
### first window of second row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### first window of second row - ends here

### second window of second row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### second window of second row - ends here

### third window of second row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### third window of second row - ends here

### fourth window of second row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### fourth window of second row - ends here
## first building - windows - second row - ends here
##*************************************************


##*************************************************
## first building - windows - third row - starts here
### first window of third row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### first window of third row - ends here
### second window of third row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### second window of third row - ends here
### third window of third row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### third window of third row - ends here
### fourth window of third row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### fourth window of third row - ends here
## first building - windows - third row - ends here
##*************************************************


##*************************************************
## first building - windows - fourth row - starts here
### first window of fourth row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### first window of fourth row - ends here
### second window of fourth row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### second window of fourth row - ends here
### third window of fourth row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### third window of fourth row - ends here
### fourth window of fourth row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### fourth window of fourth row - ends here
## first building - windows - fourth row - ends here
##*************************************************

##*************************************************
## first building - windows - fifth row - starts here
### first window of fifth row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### first window of fifth row - ends here
### second window of fifth row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### second window of fifth row - ends here
### third window of fifth row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### third window of fifth row - ends here
### fourth window of fifth row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### fourth window of fifth row - ends here
## first building - windows - fifth row - ends here
##*************************************************
# first building from left side - ends here


# second building - starts here
## second building outline - starts here
plt.plot(
    [5.8, 10, 10, 5.8, 5.8],
    [4.5, 4.5, 16, 16, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [5.8, 10, 10, 5.8],
    [4.5, 4.5, 16, 16],
    color = '#767676'
)
## second building outline - ends here

## second building roof - starts here
plt.fill(
    [5.8, 10, 9.8, 6, 5.8],
    [16, 16, 16.2, 16.2, 16],
    color = 'black'
)

plt.fill(
    [5.8, 10, 9.8, 6, 5.8],
    [16, 16, 16.2, 16.2, 16],
    color = '#D0E5E8'
)
## second building roof - ends here

## second building door - starts here
plt.plot(
    [8, 9, 9, 8, 8],
    [4.5, 4.5, 6, 6, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [8, 9, 9, 8, 8],
    [4.5, 4.5, 6, 6, 4.5],
    color = '#383838'
)
## second building door - ends here
## second building windows - starts here
### second building first row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = '#01C0F6'
)
### second building first row windows - starts here
### second building second row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = '#01C0F6'
)
### second building second row windows - ends here
### second building third row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = '#01C0F6'
)
### second building third row windows - ends here
### second building fourth row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = '#01C0F6'
)
### second building fourth row windows - ends here
### second building fifth row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = '#01C0F6'
)
### second building fifth row windows - ends here
## second building windows - ends here
# second building - ends here


plt.xlim(1, 20)
plt.ylim(1, 20)
plt.show()

Fourth building

In [22]:
plt.figure(figsize = (22, 18))

# first road from bottom - starts here 
plt.fill(
    [1, 20, 20, 1, 1],
    [1, 1, 2.5, 2.5, 1],
    color = '#010101'
)
# first road from bottom - ends here 

# second road - starts here
plt.plot(
    [1, 20],
    [3.5, 3.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [2.5, 2.5, 3.5, 3.5],
    color = '#262626'
)
# second road - ends here


# third road - starts here
plt.plot(
    [1, 20],
    [4.5, 4.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [3.5, 3.5, 4.5, 4.5],
    color = '#4D4D4D'
)
# third road - ends here


# draw background or sky - starts here
plt.fill(
    [1, 20, 20, 1],
    [4.5, 4.5, 20, 20],
    color = '#C3FFFF'
)
#draw background - ends here

# third building - starts here
## third building outline - starts here
plt.plot(
    [4.8, 5.8, 5.8, 4.8, 4.8],
    [4.5, 4.5, 12.5, 12.5, 10.5],
    color = 'black'
)

plt.fill(
    [4.8, 5.8, 5.8, 4.8, 4.8],
    [4.5, 4.5, 12.5, 12.5, 4.5],
    color = '#6F7B71'
)
## thord building outline - ends here

## third building roof - starts here
plt.plot(
    [4.4, 5.8, 5.8, 4.6, 4.4],
    [12.5, 12.5, 13.2, 13.2, 12.5],
    color = 'black'
)
plt.fill(
    [4.4, 5.8, 5.8, 4.6, 4.4],
    [12.5, 12.5, 13.2, 13.2, 12.5],
    color = '#FD9427'
)
## third building roof - ends here

## third building windows - starts here
plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [10.75, 10.75, 11.25, 11.25, 10.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [10.75, 10.75, 11.25, 11.25, 10.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [11.75, 11.75, 12.25, 12.25, 11.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [11.75, 11.75, 12.25, 12.25, 11.75],
    color = '#04BEF9'
)

## third building windows - ends here

# third building - ends here




# first building from left side - starts here
plt.plot(
    [5.2, 5.2, 1.2, 1.2],
    [4.5, 10.5, 10.5, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [1.2, 5.2, 5.2, 1.2, 1.2],
    [4.5, 4.5, 10.5, 10.5, 4.5],
    color = '#767676'
)

#roof of first building - starts here
plt.fill(
    [1.2, 5.2, 4.9, 1.5, 1.2],
    [10.5, 10.5, 10.9, 10.9, 10.5],
    color = 'black'
)
#roof of first building - ends here

## first building door - starts here
plt.plot(
    [2.9, 3.5, 3.5, 2.9],
    [4.5, 4.5, 5.5, 5.5],
    color = 'black'
)

plt.fill(
    [2.9, 3.5, 3.5, 2.9],
    [4.5, 4.5, 5.5, 5.5],
    color = '#383838'
)
## first building door - ends here

##***************************************************
## first building - windows - first row - starts here
### first window of first row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### first window of first row - ends here

### second window of first row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### second window of first row - ends here

### third window of first row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### third window of first row - ends here

### fourth window of first row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### fourth window of first row - ends here
## first building - windows - first row - ends here
##*************************************************

##*************************************************
## first building - windows - second row - starts here
### first window of second row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### first window of second row - ends here

### second window of second row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### second window of second row - ends here

### third window of second row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### third window of second row - ends here

### fourth window of second row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### fourth window of second row - ends here
## first building - windows - second row - ends here
##*************************************************


##*************************************************
## first building - windows - third row - starts here
### first window of third row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### first window of third row - ends here
### second window of third row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### second window of third row - ends here
### third window of third row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### third window of third row - ends here
### fourth window of third row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### fourth window of third row - ends here
## first building - windows - third row - ends here
##*************************************************


##*************************************************
## first building - windows - fourth row - starts here
### first window of fourth row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### first window of fourth row - ends here
### second window of fourth row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### second window of fourth row - ends here
### third window of fourth row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### third window of fourth row - ends here
### fourth window of fourth row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### fourth window of fourth row - ends here
## first building - windows - fourth row - ends here
##*************************************************

##*************************************************
## first building - windows - fifth row - starts here
### first window of fifth row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### first window of fifth row - ends here
### second window of fifth row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### second window of fifth row - ends here
### third window of fifth row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### third window of fifth row - ends here
### fourth window of fifth row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### fourth window of fifth row - ends here
## first building - windows - fifth row - ends here
##*************************************************
# first building from left side - ends here


# second building - starts here
## second building outline - starts here
plt.plot(
    [5.8, 10, 10, 5.8, 5.8],
    [4.5, 4.5, 16, 16, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [5.8, 10, 10, 5.8],
    [4.5, 4.5, 16, 16],
    color = '#767676'
)
## second building outline - ends here

## second building roof - starts here
plt.fill(
    [5.8, 10, 9.8, 6, 5.8],
    [16, 16, 16.2, 16.2, 16],
    color = 'black'
)

plt.fill(
    [5.8, 10, 9.8, 6, 5.8],
    [16, 16, 16.2, 16.2, 16],
    color = '#D0E5E8'
)
## second building roof - ends here

## second building door - starts here
plt.plot(
    [8, 9, 9, 8, 8],
    [4.5, 4.5, 6, 6, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [8, 9, 9, 8, 8],
    [4.5, 4.5, 6, 6, 4.5],
    color = '#383838'
)
## second building door - ends here
## second building windows - starts here
### second building first row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = '#01C0F6'
)
### second building first row windows - starts here
### second building second row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = '#01C0F6'
)
### second building second row windows - ends here
### second building third row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = '#01C0F6'
)
### second building third row windows - ends here
### second building fourth row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = '#01C0F6'
)
### second building fourth row windows - ends here
### second building fifth row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = '#01C0F6'
)
### second building fifth row windows - ends here
## second building windows - ends here
# second building - ends here

# fourth building - starts here
## fourth building outline - starts here
plt.plot(10, 4.5, marker = 'o', color = 'red')
plt.plot(15, 4.5, marker = 'o', color = 'red')
plt.plot(15, 20, marker = 'o', color = 'red')
plt.plot(10, 20, marker = 'o', color = 'red')

plt.plot(
    [10, 15, 15, 10, 10],
    [4.5, 4.5, 20, 20, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [10, 15, 15, 10, 10],
    [4.5, 4.5, 20, 20, 4.5],
    color = '#253D6D'
)
## fourth building outline - ends here

# fourth building - ends here

plt.xlim(1, 20)
plt.ylim(1, 20)
plt.show()
In [23]:
plt.figure(figsize = (22, 18))

# first road from bottom - starts here 
plt.fill(
    [1, 20, 20, 1, 1],
    [1, 1, 2.5, 2.5, 1],
    color = '#010101'
)
# first road from bottom - ends here 

# second road - starts here
plt.plot(
    [1, 20],
    [3.5, 3.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [2.5, 2.5, 3.5, 3.5],
    color = '#262626'
)
# second road - ends here


# third road - starts here
plt.plot(
    [1, 20],
    [4.5, 4.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [3.5, 3.5, 4.5, 4.5],
    color = '#4D4D4D'
)
# third road - ends here


# draw background or sky - starts here
plt.fill(
    [1, 20, 20, 1],
    [4.5, 4.5, 20, 20],
    color = '#C3FFFF'
)
#draw background - ends here

# third building - starts here
## third building outline - starts here
plt.plot(
    [4.8, 5.8, 5.8, 4.8, 4.8],
    [4.5, 4.5, 12.5, 12.5, 10.5],
    color = 'black'
)

plt.fill(
    [4.8, 5.8, 5.8, 4.8, 4.8],
    [4.5, 4.5, 12.5, 12.5, 4.5],
    color = '#6F7B71'
)
## thord building outline - ends here

## third building roof - starts here
plt.plot(
    [4.4, 5.8, 5.8, 4.6, 4.4],
    [12.5, 12.5, 13.2, 13.2, 12.5],
    color = 'black'
)
plt.fill(
    [4.4, 5.8, 5.8, 4.6, 4.4],
    [12.5, 12.5, 13.2, 13.2, 12.5],
    color = '#FD9427'
)
## third building roof - ends here

## third building windows - starts here
plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [10.75, 10.75, 11.25, 11.25, 10.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [10.75, 10.75, 11.25, 11.25, 10.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [11.75, 11.75, 12.25, 12.25, 11.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [11.75, 11.75, 12.25, 12.25, 11.75],
    color = '#04BEF9'
)

## third building windows - ends here

# third building - ends here




# first building from left side - starts here
plt.plot(
    [5.2, 5.2, 1.2, 1.2],
    [4.5, 10.5, 10.5, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [1.2, 5.2, 5.2, 1.2, 1.2],
    [4.5, 4.5, 10.5, 10.5, 4.5],
    color = '#767676'
)

#roof of first building - starts here
plt.fill(
    [1.2, 5.2, 4.9, 1.5, 1.2],
    [10.5, 10.5, 10.9, 10.9, 10.5],
    color = 'black'
)
#roof of first building - ends here

## first building door - starts here
plt.plot(
    [2.9, 3.5, 3.5, 2.9],
    [4.5, 4.5, 5.5, 5.5],
    color = 'black'
)

plt.fill(
    [2.9, 3.5, 3.5, 2.9],
    [4.5, 4.5, 5.5, 5.5],
    color = '#383838'
)
## first building door - ends here

##***************************************************
## first building - windows - first row - starts here
### first window of first row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### first window of first row - ends here

### second window of first row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### second window of first row - ends here

### third window of first row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### third window of first row - ends here

### fourth window of first row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### fourth window of first row - ends here
## first building - windows - first row - ends here
##*************************************************

##*************************************************
## first building - windows - second row - starts here
### first window of second row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### first window of second row - ends here

### second window of second row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### second window of second row - ends here

### third window of second row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### third window of second row - ends here

### fourth window of second row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### fourth window of second row - ends here
## first building - windows - second row - ends here
##*************************************************


##*************************************************
## first building - windows - third row - starts here
### first window of third row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### first window of third row - ends here
### second window of third row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### second window of third row - ends here
### third window of third row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### third window of third row - ends here
### fourth window of third row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### fourth window of third row - ends here
## first building - windows - third row - ends here
##*************************************************


##*************************************************
## first building - windows - fourth row - starts here
### first window of fourth row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### first window of fourth row - ends here
### second window of fourth row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### second window of fourth row - ends here
### third window of fourth row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### third window of fourth row - ends here
### fourth window of fourth row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### fourth window of fourth row - ends here
## first building - windows - fourth row - ends here
##*************************************************

##*************************************************
## first building - windows - fifth row - starts here
### first window of fifth row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### first window of fifth row - ends here
### second window of fifth row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### second window of fifth row - ends here
### third window of fifth row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### third window of fifth row - ends here
### fourth window of fifth row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### fourth window of fifth row - ends here
## first building - windows - fifth row - ends here
##*************************************************
# first building from left side - ends here


# second building - starts here
## second building outline - starts here
plt.plot(
    [5.8, 10, 10, 5.8, 5.8],
    [4.5, 4.5, 16, 16, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [5.8, 10, 10, 5.8],
    [4.5, 4.5, 16, 16],
    color = '#767676'
)
## second building outline - ends here

## second building roof - starts here
plt.fill(
    [5.8, 10, 9.8, 6, 5.8],
    [16, 16, 16.2, 16.2, 16],
    color = 'black'
)

plt.fill(
    [5.8, 10, 9.8, 6, 5.8],
    [16, 16, 16.2, 16.2, 16],
    color = '#D0E5E8'
)
## second building roof - ends here

## second building door - starts here
plt.plot(
    [8, 9, 9, 8, 8],
    [4.5, 4.5, 6, 6, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [8, 9, 9, 8, 8],
    [4.5, 4.5, 6, 6, 4.5],
    color = '#383838'
)
## second building door - ends here
## second building windows - starts here
### second building first row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = '#01C0F6'
)
### second building first row windows - starts here
### second building second row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = '#01C0F6'
)
### second building second row windows - ends here
### second building third row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = '#01C0F6'
)
### second building third row windows - ends here
### second building fourth row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = '#01C0F6'
)
### second building fourth row windows - ends here
### second building fifth row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = '#01C0F6'
)
### second building fifth row windows - ends here
## second building windows - ends here
# second building - ends here

# fourth building - starts here
## fourth building outline - starts here
plt.plot(
    [10, 15, 15, 10, 10],
    [4.5, 4.5, 20, 20, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [10, 15, 15, 10, 10],
    [4.5, 4.5, 20, 20, 4.5],
    color = '#253D6D'
)
## fourth building outline - ends here

## fourth building horizental lines - starts here
plt.plot(
    [10, 15],
    [6, 6],
    color = 'black', lw = 2
)

plt.plot(
    [10, 15],
    [7.5, 7.5],
    color = 'black', lw = 2
)
plt.plot(
    [10, 15],
    [9, 9],
    color = 'black', lw = 2
)

plt.plot(
    [10, 15],
    [10.5, 10.5],
    color = 'black', lw = 2
)

plt.plot(
    [10, 15],
    [12, 12],
    color = 'black', lw = 2
)

plt.plot(
    [10, 15],
    [13.5, 13.5],
    color = 'black', lw = 2
)
plt.plot(
    [10, 15],
    [15, 15],
    color = 'black', lw = 2
)
plt.plot(
    [10, 15],
    [16.5, 16.5],
    color = 'black', lw = 2
)
plt.plot(
    [10, 15],
    [18, 18],
    color = 'black', lw = 2
)

plt.plot(
    [10, 15],
    [19.5, 19.5],
    color = 'black', lw = 2
)
## fourth building horizental lines - ends here

## fourth building vertical lines - starts here
plt.plot(
    [11, 11],
    [4.5, 20],
    color = 'black', lw = 2
)
plt.plot(
    [12, 12],
    [4.5, 20],
    color = 'black', lw = 2
)
plt.plot(
    [13, 13],
    [4.5, 20],
    color = 'black', lw = 2
)
plt.plot(
    [14, 14],
    [4.5, 20],
    color = 'black', lw = 2
)
## fourth building vertical lines - ends here
## fourth building door - starts here
plt.fill(
    [12, 13, 13, 12, 12],
    [4.5, 4.5, 6, 6, 4.5],
    color = '#6279A2'
)
## fourth building door - ends here
# fourth building - ends here

plt.xlim(1, 20)
plt.ylim(1, 20)
plt.show()

Fifth building

In [24]:
plt.figure(figsize = (22, 18))

# first road from bottom - starts here 
plt.fill(
    [1, 20, 20, 1, 1],
    [1, 1, 2.5, 2.5, 1],
    color = '#010101'
)
# first road from bottom - ends here 

# second road - starts here
plt.plot(
    [1, 20],
    [3.5, 3.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [2.5, 2.5, 3.5, 3.5],
    color = '#262626'
)
# second road - ends here


# third road - starts here
plt.plot(
    [1, 20],
    [4.5, 4.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [3.5, 3.5, 4.5, 4.5],
    color = '#4D4D4D'
)
# third road - ends here


# draw background or sky - starts here
plt.fill(
    [1, 20, 20, 1],
    [4.5, 4.5, 20, 20],
    color = '#C3FFFF'
)
#draw background - ends here

# third building - starts here
## third building outline - starts here
plt.plot(
    [4.8, 5.8, 5.8, 4.8, 4.8],
    [4.5, 4.5, 12.5, 12.5, 10.5],
    color = 'black'
)

plt.fill(
    [4.8, 5.8, 5.8, 4.8, 4.8],
    [4.5, 4.5, 12.5, 12.5, 4.5],
    color = '#6F7B71'
)
## thord building outline - ends here

## third building roof - starts here
plt.plot(
    [4.4, 5.8, 5.8, 4.6, 4.4],
    [12.5, 12.5, 13.2, 13.2, 12.5],
    color = 'black'
)
plt.fill(
    [4.4, 5.8, 5.8, 4.6, 4.4],
    [12.5, 12.5, 13.2, 13.2, 12.5],
    color = '#FD9427'
)
## third building roof - ends here

## third building windows - starts here
plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [10.75, 10.75, 11.25, 11.25, 10.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [10.75, 10.75, 11.25, 11.25, 10.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [11.75, 11.75, 12.25, 12.25, 11.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [11.75, 11.75, 12.25, 12.25, 11.75],
    color = '#04BEF9'
)

## third building windows - ends here

# third building - ends here




# first building from left side - starts here
plt.plot(
    [5.2, 5.2, 1.2, 1.2],
    [4.5, 10.5, 10.5, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [1.2, 5.2, 5.2, 1.2, 1.2],
    [4.5, 4.5, 10.5, 10.5, 4.5],
    color = '#767676'
)

#roof of first building - starts here
plt.fill(
    [1.2, 5.2, 4.9, 1.5, 1.2],
    [10.5, 10.5, 10.9, 10.9, 10.5],
    color = 'black'
)
#roof of first building - ends here

## first building door - starts here
plt.plot(
    [2.9, 3.5, 3.5, 2.9],
    [4.5, 4.5, 5.5, 5.5],
    color = 'black'
)

plt.fill(
    [2.9, 3.5, 3.5, 2.9],
    [4.5, 4.5, 5.5, 5.5],
    color = '#383838'
)
## first building door - ends here

##***************************************************
## first building - windows - first row - starts here
### first window of first row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### first window of first row - ends here

### second window of first row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### second window of first row - ends here

### third window of first row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### third window of first row - ends here

### fourth window of first row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### fourth window of first row - ends here
## first building - windows - first row - ends here
##*************************************************

##*************************************************
## first building - windows - second row - starts here
### first window of second row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### first window of second row - ends here

### second window of second row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### second window of second row - ends here

### third window of second row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### third window of second row - ends here

### fourth window of second row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### fourth window of second row - ends here
## first building - windows - second row - ends here
##*************************************************


##*************************************************
## first building - windows - third row - starts here
### first window of third row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### first window of third row - ends here
### second window of third row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### second window of third row - ends here
### third window of third row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### third window of third row - ends here
### fourth window of third row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### fourth window of third row - ends here
## first building - windows - third row - ends here
##*************************************************


##*************************************************
## first building - windows - fourth row - starts here
### first window of fourth row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### first window of fourth row - ends here
### second window of fourth row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### second window of fourth row - ends here
### third window of fourth row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### third window of fourth row - ends here
### fourth window of fourth row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### fourth window of fourth row - ends here
## first building - windows - fourth row - ends here
##*************************************************

##*************************************************
## first building - windows - fifth row - starts here
### first window of fifth row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### first window of fifth row - ends here
### second window of fifth row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### second window of fifth row - ends here
### third window of fifth row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### third window of fifth row - ends here
### fourth window of fifth row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### fourth window of fifth row - ends here
## first building - windows - fifth row - ends here
##*************************************************
# first building from left side - ends here


# second building - starts here
## second building outline - starts here
plt.plot(
    [5.8, 10, 10, 5.8, 5.8],
    [4.5, 4.5, 16, 16, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [5.8, 10, 10, 5.8],
    [4.5, 4.5, 16, 16],
    color = '#767676'
)
## second building outline - ends here

## second building roof - starts here
plt.fill(
    [5.8, 10, 9.8, 6, 5.8],
    [16, 16, 16.2, 16.2, 16],
    color = 'black'
)

plt.fill(
    [5.8, 10, 9.8, 6, 5.8],
    [16, 16, 16.2, 16.2, 16],
    color = '#D0E5E8'
)
## second building roof - ends here

## second building door - starts here
plt.plot(
    [8, 9, 9, 8, 8],
    [4.5, 4.5, 6, 6, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [8, 9, 9, 8, 8],
    [4.5, 4.5, 6, 6, 4.5],
    color = '#383838'
)
## second building door - ends here
## second building windows - starts here
### second building first row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = '#01C0F6'
)
### second building first row windows - starts here
### second building second row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = '#01C0F6'
)
### second building second row windows - ends here
### second building third row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = '#01C0F6'
)
### second building third row windows - ends here
### second building fourth row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = '#01C0F6'
)
### second building fourth row windows - ends here
### second building fifth row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = '#01C0F6'
)
### second building fifth row windows - ends here
## second building windows - ends here
# second building - ends here

# fourth building - starts here
## fourth building outline - starts here
plt.plot(
    [10, 15, 15, 10, 10],
    [4.5, 4.5, 20, 20, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [10, 15, 15, 10, 10],
    [4.5, 4.5, 20, 20, 4.5],
    color = '#253D6D'
)
## fourth building outline - ends here

## fourth building horizental lines - starts here
plt.plot(
    [10, 15],
    [6, 6],
    color = 'black', lw = 2
)

plt.plot(
    [10, 15],
    [7.5, 7.5],
    color = 'black', lw = 2
)
plt.plot(
    [10, 15],
    [9, 9],
    color = 'black', lw = 2
)

plt.plot(
    [10, 15],
    [10.5, 10.5],
    color = 'black', lw = 2
)

plt.plot(
    [10, 15],
    [12, 12],
    color = 'black', lw = 2
)

plt.plot(
    [10, 15],
    [13.5, 13.5],
    color = 'black', lw = 2
)
plt.plot(
    [10, 15],
    [15, 15],
    color = 'black', lw = 2
)
plt.plot(
    [10, 15],
    [16.5, 16.5],
    color = 'black', lw = 2
)
plt.plot(
    [10, 15],
    [18, 18],
    color = 'black', lw = 2
)

plt.plot(
    [10, 15],
    [19.5, 19.5],
    color = 'black', lw = 2
)
## fourth building horizental lines - ends here

## fourth building vertical lines - starts here
plt.plot(
    [11, 11],
    [4.5, 20],
    color = 'black', lw = 2
)
plt.plot(
    [12, 12],
    [4.5, 20],
    color = 'black', lw = 2
)
plt.plot(
    [13, 13],
    [4.5, 20],
    color = 'black', lw = 2
)
plt.plot(
    [14, 14],
    [4.5, 20],
    color = 'black', lw = 2
)
## fourth building vertical lines - ends here
## fourth building door - starts here
plt.fill(
    [12, 13, 13, 12, 12],
    [4.5, 4.5, 6, 6, 4.5],
    color = '#6279A2'
)
## fourth building door - ends here
# fourth building - ends here

# fifth building - starts here
## fifth building outline - starts here
plt.plot(15, 4.5, marker = 'o', color = 'red')
plt.plot(19.8, 4.5, marker = 'o', color = 'red')
plt.plot(19.8, 13, marker = 'o', color = 'red')
plt.plot(15, 13, marker = 'o', color = 'red')

plt.plot(
    [15, 19.8, 19.8, 15, 15],
    [4.5, 4.5, 13, 13, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [15, 19.8, 19.8, 15, 15],
    [4.5, 4.5, 13, 13, 4.5],
    color = '#7B7B7B'
)

## fifth building outline - ends here

# fifth building - ends here

plt.xlim(1, 20)
plt.ylim(1, 20)
plt.show()

Fifth building door and roof

In [25]:
plt.figure(figsize = (22, 18))

# first road from bottom - starts here 
plt.fill(
    [1, 20, 20, 1, 1],
    [1, 1, 2.5, 2.5, 1],
    color = '#010101'
)
# first road from bottom - ends here 

# second road - starts here
plt.plot(
    [1, 20],
    [3.5, 3.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [2.5, 2.5, 3.5, 3.5],
    color = '#262626'
)
# second road - ends here


# third road - starts here
plt.plot(
    [1, 20],
    [4.5, 4.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [3.5, 3.5, 4.5, 4.5],
    color = '#4D4D4D'
)
# third road - ends here


# draw background or sky - starts here
plt.fill(
    [1, 20, 20, 1],
    [4.5, 4.5, 20, 20],
    color = '#C3FFFF'
)
#draw background - ends here

# third building - starts here
## third building outline - starts here
plt.plot(
    [4.8, 5.8, 5.8, 4.8, 4.8],
    [4.5, 4.5, 12.5, 12.5, 10.5],
    color = 'black'
)

plt.fill(
    [4.8, 5.8, 5.8, 4.8, 4.8],
    [4.5, 4.5, 12.5, 12.5, 4.5],
    color = '#6F7B71'
)
## thord building outline - ends here

## third building roof - starts here
plt.plot(
    [4.4, 5.8, 5.8, 4.6, 4.4],
    [12.5, 12.5, 13.2, 13.2, 12.5],
    color = 'black'
)
plt.fill(
    [4.4, 5.8, 5.8, 4.6, 4.4],
    [12.5, 12.5, 13.2, 13.2, 12.5],
    color = '#FD9427'
)
## third building roof - ends here

## third building windows - starts here
plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [10.75, 10.75, 11.25, 11.25, 10.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [10.75, 10.75, 11.25, 11.25, 10.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [11.75, 11.75, 12.25, 12.25, 11.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [11.75, 11.75, 12.25, 12.25, 11.75],
    color = '#04BEF9'
)

## third building windows - ends here

# third building - ends here




# first building from left side - starts here
plt.plot(
    [5.2, 5.2, 1.2, 1.2],
    [4.5, 10.5, 10.5, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [1.2, 5.2, 5.2, 1.2, 1.2],
    [4.5, 4.5, 10.5, 10.5, 4.5],
    color = '#767676'
)

#roof of first building - starts here
plt.fill(
    [1.2, 5.2, 4.9, 1.5, 1.2],
    [10.5, 10.5, 10.9, 10.9, 10.5],
    color = 'black'
)
#roof of first building - ends here

## first building door - starts here
plt.plot(
    [2.9, 3.5, 3.5, 2.9],
    [4.5, 4.5, 5.5, 5.5],
    color = 'black'
)

plt.fill(
    [2.9, 3.5, 3.5, 2.9],
    [4.5, 4.5, 5.5, 5.5],
    color = '#383838'
)
## first building door - ends here

##***************************************************
## first building - windows - first row - starts here
### first window of first row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### first window of first row - ends here

### second window of first row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### second window of first row - ends here

### third window of first row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### third window of first row - ends here

### fourth window of first row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### fourth window of first row - ends here
## first building - windows - first row - ends here
##*************************************************

##*************************************************
## first building - windows - second row - starts here
### first window of second row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### first window of second row - ends here

### second window of second row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### second window of second row - ends here

### third window of second row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### third window of second row - ends here

### fourth window of second row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### fourth window of second row - ends here
## first building - windows - second row - ends here
##*************************************************


##*************************************************
## first building - windows - third row - starts here
### first window of third row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### first window of third row - ends here
### second window of third row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### second window of third row - ends here
### third window of third row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### third window of third row - ends here
### fourth window of third row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### fourth window of third row - ends here
## first building - windows - third row - ends here
##*************************************************


##*************************************************
## first building - windows - fourth row - starts here
### first window of fourth row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### first window of fourth row - ends here
### second window of fourth row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### second window of fourth row - ends here
### third window of fourth row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### third window of fourth row - ends here
### fourth window of fourth row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### fourth window of fourth row - ends here
## first building - windows - fourth row - ends here
##*************************************************

##*************************************************
## first building - windows - fifth row - starts here
### first window of fifth row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### first window of fifth row - ends here
### second window of fifth row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### second window of fifth row - ends here
### third window of fifth row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### third window of fifth row - ends here
### fourth window of fifth row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### fourth window of fifth row - ends here
## first building - windows - fifth row - ends here
##*************************************************
# first building from left side - ends here


# second building - starts here
## second building outline - starts here
plt.plot(
    [5.8, 10, 10, 5.8, 5.8],
    [4.5, 4.5, 16, 16, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [5.8, 10, 10, 5.8],
    [4.5, 4.5, 16, 16],
    color = '#767676'
)
## second building outline - ends here

## second building roof - starts here
plt.fill(
    [5.8, 10, 9.8, 6, 5.8],
    [16, 16, 16.2, 16.2, 16],
    color = 'black'
)

plt.fill(
    [5.8, 10, 9.8, 6, 5.8],
    [16, 16, 16.2, 16.2, 16],
    color = '#D0E5E8'
)
## second building roof - ends here

## second building door - starts here
plt.plot(
    [8, 9, 9, 8, 8],
    [4.5, 4.5, 6, 6, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [8, 9, 9, 8, 8],
    [4.5, 4.5, 6, 6, 4.5],
    color = '#383838'
)
## second building door - ends here
## second building windows - starts here
### second building first row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = '#01C0F6'
)
### second building first row windows - starts here
### second building second row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = '#01C0F6'
)
### second building second row windows - ends here
### second building third row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = '#01C0F6'
)
### second building third row windows - ends here
### second building fourth row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = '#01C0F6'
)
### second building fourth row windows - ends here
### second building fifth row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = '#01C0F6'
)
### second building fifth row windows - ends here
## second building windows - ends here
# second building - ends here

# fourth building - starts here
## fourth building outline - starts here
plt.plot(
    [10, 15, 15, 10, 10],
    [4.5, 4.5, 20, 20, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [10, 15, 15, 10, 10],
    [4.5, 4.5, 20, 20, 4.5],
    color = '#253D6D'
)
## fourth building outline - ends here

## fourth building horizental lines - starts here
plt.plot(
    [10, 15],
    [6, 6],
    color = 'black', lw = 2
)

plt.plot(
    [10, 15],
    [7.5, 7.5],
    color = 'black', lw = 2
)
plt.plot(
    [10, 15],
    [9, 9],
    color = 'black', lw = 2
)

plt.plot(
    [10, 15],
    [10.5, 10.5],
    color = 'black', lw = 2
)

plt.plot(
    [10, 15],
    [12, 12],
    color = 'black', lw = 2
)

plt.plot(
    [10, 15],
    [13.5, 13.5],
    color = 'black', lw = 2
)
plt.plot(
    [10, 15],
    [15, 15],
    color = 'black', lw = 2
)
plt.plot(
    [10, 15],
    [16.5, 16.5],
    color = 'black', lw = 2
)
plt.plot(
    [10, 15],
    [18, 18],
    color = 'black', lw = 2
)

plt.plot(
    [10, 15],
    [19.5, 19.5],
    color = 'black', lw = 2
)
## fourth building horizental lines - ends here

## fourth building vertical lines - starts here
plt.plot(
    [11, 11],
    [4.5, 20],
    color = 'black', lw = 2
)
plt.plot(
    [12, 12],
    [4.5, 20],
    color = 'black', lw = 2
)
plt.plot(
    [13, 13],
    [4.5, 20],
    color = 'black', lw = 2
)
plt.plot(
    [14, 14],
    [4.5, 20],
    color = 'black', lw = 2
)
## fourth building vertical lines - ends here
## fourth building door - starts here
plt.fill(
    [12, 13, 13, 12, 12],
    [4.5, 4.5, 6, 6, 4.5],
    color = '#6279A2'
)
## fourth building door - ends here
# fourth building - ends here

# fifth building - starts here
## fifth building outline - starts here
plt.plot(
    [15, 19.8, 19.8, 15, 15],
    [4.5, 4.5, 13, 13, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [15, 19.8, 19.8, 15, 15],
    [4.5, 4.5, 13, 13, 4.5],
    color = '#7B7B7B'
)
## fifth building outline - ends here

## fifth building roof - starts here
plt.plot(
    [15, 19.8, 19.5, 15.2, 15],
    [13, 13, 13.3, 13.3, 13],
    color = 'black'
)
plt.fill(
    [15, 19.8, 19.5, 15.2, 15],
    [13, 13, 13.3, 13.3, 13],
    color = 'black'
)

## fifth building roof - ends here

## fifth building door - starts here
plt.plot(
    [17, 18, 18, 17, 17],
    [4.5, 4.5, 6, 6, 4.5],
    color = 'black'
)
plt.fill(
    [17, 18, 18, 17, 17],
    [4.5, 4.5, 6, 6, 4.5],
    color = '#3B3B3B'
)
## fifth building door - ends here
# fifth building - ends here

plt.xlim(1, 20)
plt.ylim(1, 20)
plt.show()

Third building windows

In [26]:
plt.figure(figsize = (22, 18))

# first road from bottom - starts here 
plt.fill(
    [1, 20, 20, 1, 1],
    [1, 1, 2.5, 2.5, 1],
    color = '#010101'
)
# first road from bottom - ends here 

# second road - starts here
plt.plot(
    [1, 20],
    [3.5, 3.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [2.5, 2.5, 3.5, 3.5],
    color = '#262626'
)
# second road - ends here


# third road - starts here
plt.plot(
    [1, 20],
    [4.5, 4.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [3.5, 3.5, 4.5, 4.5],
    color = '#4D4D4D'
)
# third road - ends here


# draw background or sky - starts here
plt.fill(
    [1, 20, 20, 1],
    [4.5, 4.5, 20, 20],
    color = '#C3FFFF'
)
#draw background - ends here

# third building - starts here
## third building outline - starts here
plt.plot(
    [4.8, 5.8, 5.8, 4.8, 4.8],
    [4.5, 4.5, 12.5, 12.5, 10.5],
    color = 'black'
)

plt.fill(
    [4.8, 5.8, 5.8, 4.8, 4.8],
    [4.5, 4.5, 12.5, 12.5, 4.5],
    color = '#6F7B71'
)
## thord building outline - ends here

## third building roof - starts here
plt.plot(
    [4.4, 5.8, 5.8, 4.6, 4.4],
    [12.5, 12.5, 13.2, 13.2, 12.5],
    color = 'black'
)
plt.fill(
    [4.4, 5.8, 5.8, 4.6, 4.4],
    [12.5, 12.5, 13.2, 13.2, 12.5],
    color = '#FD9427'
)
## third building roof - ends here

## third building windows - starts here
plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [10.75, 10.75, 11.25, 11.25, 10.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [10.75, 10.75, 11.25, 11.25, 10.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [11.75, 11.75, 12.25, 12.25, 11.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [11.75, 11.75, 12.25, 12.25, 11.75],
    color = '#04BEF9'
)

## third building windows - ends here

# third building - ends here




# first building from left side - starts here
plt.plot(
    [5.2, 5.2, 1.2, 1.2],
    [4.5, 10.5, 10.5, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [1.2, 5.2, 5.2, 1.2, 1.2],
    [4.5, 4.5, 10.5, 10.5, 4.5],
    color = '#767676'
)

#roof of first building - starts here
plt.fill(
    [1.2, 5.2, 4.9, 1.5, 1.2],
    [10.5, 10.5, 10.9, 10.9, 10.5],
    color = 'black'
)
#roof of first building - ends here

## first building door - starts here
plt.plot(
    [2.9, 3.5, 3.5, 2.9],
    [4.5, 4.5, 5.5, 5.5],
    color = 'black'
)

plt.fill(
    [2.9, 3.5, 3.5, 2.9],
    [4.5, 4.5, 5.5, 5.5],
    color = '#383838'
)
## first building door - ends here

##***************************************************
## first building - windows - first row - starts here
### first window of first row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### first window of first row - ends here

### second window of first row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### second window of first row - ends here

### third window of first row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### third window of first row - ends here

### fourth window of first row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### fourth window of first row - ends here
## first building - windows - first row - ends here
##*************************************************

##*************************************************
## first building - windows - second row - starts here
### first window of second row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### first window of second row - ends here

### second window of second row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### second window of second row - ends here

### third window of second row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### third window of second row - ends here

### fourth window of second row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### fourth window of second row - ends here
## first building - windows - second row - ends here
##*************************************************


##*************************************************
## first building - windows - third row - starts here
### first window of third row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### first window of third row - ends here
### second window of third row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### second window of third row - ends here
### third window of third row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### third window of third row - ends here
### fourth window of third row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### fourth window of third row - ends here
## first building - windows - third row - ends here
##*************************************************


##*************************************************
## first building - windows - fourth row - starts here
### first window of fourth row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### first window of fourth row - ends here
### second window of fourth row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### second window of fourth row - ends here
### third window of fourth row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### third window of fourth row - ends here
### fourth window of fourth row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### fourth window of fourth row - ends here
## first building - windows - fourth row - ends here
##*************************************************

##*************************************************
## first building - windows - fifth row - starts here
### first window of fifth row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### first window of fifth row - ends here
### second window of fifth row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### second window of fifth row - ends here
### third window of fifth row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### third window of fifth row - ends here
### fourth window of fifth row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### fourth window of fifth row - ends here
## first building - windows - fifth row - ends here
##*************************************************
# first building from left side - ends here


# second building - starts here
## second building outline - starts here
plt.plot(
    [5.8, 10, 10, 5.8, 5.8],
    [4.5, 4.5, 16, 16, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [5.8, 10, 10, 5.8],
    [4.5, 4.5, 16, 16],
    color = '#767676'
)
## second building outline - ends here

## second building roof - starts here
plt.fill(
    [5.8, 10, 9.8, 6, 5.8],
    [16, 16, 16.2, 16.2, 16],
    color = 'black'
)

plt.fill(
    [5.8, 10, 9.8, 6, 5.8],
    [16, 16, 16.2, 16.2, 16],
    color = '#D0E5E8'
)
## second building roof - ends here

## second building door - starts here
plt.plot(
    [8, 9, 9, 8, 8],
    [4.5, 4.5, 6, 6, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [8, 9, 9, 8, 8],
    [4.5, 4.5, 6, 6, 4.5],
    color = '#383838'
)
## second building door - ends here
## second building windows - starts here
### second building first row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = '#01C0F6'
)
### second building first row windows - starts here
### second building second row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = '#01C0F6'
)
### second building second row windows - ends here
### second building third row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = '#01C0F6'
)
### second building third row windows - ends here
### second building fourth row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = '#01C0F6'
)
### second building fourth row windows - ends here
### second building fifth row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = '#01C0F6'
)
### second building fifth row windows - ends here
## second building windows - ends here
# second building - ends here

# fourth building - starts here
## fourth building outline - starts here
plt.plot(
    [10, 15, 15, 10, 10],
    [4.5, 4.5, 20, 20, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [10, 15, 15, 10, 10],
    [4.5, 4.5, 20, 20, 4.5],
    color = '#253D6D'
)
## fourth building outline - ends here

## fourth building horizental lines - starts here
plt.plot(
    [10, 15],
    [6, 6],
    color = 'black', lw = 2
)

plt.plot(
    [10, 15],
    [7.5, 7.5],
    color = 'black', lw = 2
)
plt.plot(
    [10, 15],
    [9, 9],
    color = 'black', lw = 2
)

plt.plot(
    [10, 15],
    [10.5, 10.5],
    color = 'black', lw = 2
)

plt.plot(
    [10, 15],
    [12, 12],
    color = 'black', lw = 2
)

plt.plot(
    [10, 15],
    [13.5, 13.5],
    color = 'black', lw = 2
)
plt.plot(
    [10, 15],
    [15, 15],
    color = 'black', lw = 2
)
plt.plot(
    [10, 15],
    [16.5, 16.5],
    color = 'black', lw = 2
)
plt.plot(
    [10, 15],
    [18, 18],
    color = 'black', lw = 2
)

plt.plot(
    [10, 15],
    [19.5, 19.5],
    color = 'black', lw = 2
)
## fourth building horizental lines - ends here

## fourth building vertical lines - starts here
plt.plot(
    [11, 11],
    [4.5, 20],
    color = 'black', lw = 2
)
plt.plot(
    [12, 12],
    [4.5, 20],
    color = 'black', lw = 2
)
plt.plot(
    [13, 13],
    [4.5, 20],
    color = 'black', lw = 2
)
plt.plot(
    [14, 14],
    [4.5, 20],
    color = 'black', lw = 2
)
## fourth building vertical lines - ends here
## fourth building door - starts here
plt.fill(
    [12, 13, 13, 12, 12],
    [4.5, 4.5, 6, 6, 4.5],
    color = '#6279A2'
)
## fourth building door - ends here
# fourth building - ends here

# fifth building - starts here
## fifth building outline - starts here
plt.plot(
    [15, 19.8, 19.8, 15, 15],
    [4.5, 4.5, 13, 13, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [15, 19.8, 19.8, 15, 15],
    [4.5, 4.5, 13, 13, 4.5],
    color = '#7B7B7B'
)
## fifth building outline - ends here

## fifth building roof - starts here
plt.plot(
    [15, 19.8, 19.5, 15.2, 15],
    [13, 13, 13.3, 13.3, 13],
    color = 'black'
)
plt.fill(
    [15, 19.8, 19.5, 15.2, 15],
    [13, 13, 13.3, 13.3, 13],
    color = 'black'
)

## fifth building roof - ends here

## fifth building door - starts here
plt.plot(
    [17, 18, 18, 17, 17],
    [4.5, 4.5, 6, 6, 4.5],
    color = 'black'
)
plt.fill(
    [17, 18, 18, 17, 17],
    [4.5, 4.5, 6, 6, 4.5],
    color = '#3B3B3B'
)
## fifth building door - ends here

## fifth building windows - starts here
plt.plot(15.2, 6.2, marker = 'o', color = 'red')
plt.plot(15.7, 6.2, marker = 'o', color = 'red')
plt.plot(15.7, 6.7, marker = 'o', color = 'red')
plt.plot(15.2, 6.7, marker = 'o', color = 'red')

plt.plot(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = 'black', lw = 2
)

plt.fill(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = '#00BEF4'
)

plt.plot(16.2, 6.2, marker = 'o', color = 'red')
plt.plot(16.7, 6.2, marker = 'o', color = 'red')
plt.plot(16.7, 6.7, marker = 'o', color = 'red')
plt.plot(16.2, 6.7, marker = 'o', color = 'red')

plt.plot(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = 'black', lw = 2
)

plt.fill(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = '#00BEF4'
)

plt.plot(17.2, 6.2, marker = 'o', color = 'red')
plt.plot(17.7, 6.2, marker = 'o', color = 'red')
plt.plot(17.7, 6.7, marker = 'o', color = 'red')
plt.plot(17.2, 6.7, marker = 'o', color = 'red')
plt.plot(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = 'black', lw = 2
)

plt.fill(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = '#00BEF4'
)

plt.plot(18.2, 6.2, marker = 'o', color = 'red')
plt.plot(18.7, 6.2, marker = 'o', color = 'red')
plt.plot(18.7, 6.7, marker = 'o', color = 'red')
plt.plot(18.2, 6.7, marker = 'o', color = 'red')
plt.plot(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = 'black', lw = 2
)

plt.fill(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = '#00BEF4'
)

plt.plot(19.2, 6.2, marker = 'o', color = 'red')
plt.plot(19.6, 6.2, marker = 'o', color = 'red')
plt.plot(19.6, 6.7, marker = 'o', color = 'red')
plt.plot(19.2, 6.7, marker = 'o', color = 'red')
plt.plot(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = 'black', lw = 2
)

plt.fill(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = '#00BEF4'
)

## fifth building windows - ends here

# fifth building - ends here

plt.xlim(1, 20)
plt.ylim(1, 20)
plt.show()
In [27]:
plt.figure(figsize = (22, 18))

# first road from bottom - starts here 
plt.fill(
    [1, 20, 20, 1, 1],
    [1, 1, 2.5, 2.5, 1],
    color = '#010101'
)
# first road from bottom - ends here 

# second road - starts here
plt.plot(
    [1, 20],
    [3.5, 3.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [2.5, 2.5, 3.5, 3.5],
    color = '#262626'
)
# second road - ends here


# third road - starts here
plt.plot(
    [1, 20],
    [4.5, 4.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [3.5, 3.5, 4.5, 4.5],
    color = '#4D4D4D'
)
# third road - ends here


# draw background or sky - starts here
plt.fill(
    [1, 20, 20, 1],
    [4.5, 4.5, 20, 20],
    color = '#C3FFFF'
)
#draw background - ends here

# third building - starts here
## third building outline - starts here
plt.plot(
    [4.8, 5.8, 5.8, 4.8, 4.8],
    [4.5, 4.5, 12.5, 12.5, 10.5],
    color = 'black'
)

plt.fill(
    [4.8, 5.8, 5.8, 4.8, 4.8],
    [4.5, 4.5, 12.5, 12.5, 4.5],
    color = '#6F7B71'
)
## thord building outline - ends here

## third building roof - starts here
plt.plot(
    [4.4, 5.8, 5.8, 4.6, 4.4],
    [12.5, 12.5, 13.2, 13.2, 12.5],
    color = 'black'
)
plt.fill(
    [4.4, 5.8, 5.8, 4.6, 4.4],
    [12.5, 12.5, 13.2, 13.2, 12.5],
    color = '#FD9427'
)
## third building roof - ends here

## third building windows - starts here
plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [10.75, 10.75, 11.25, 11.25, 10.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [10.75, 10.75, 11.25, 11.25, 10.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [11.75, 11.75, 12.25, 12.25, 11.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [11.75, 11.75, 12.25, 12.25, 11.75],
    color = '#04BEF9'
)

## third building windows - ends here

# third building - ends here




# first building from left side - starts here
plt.plot(
    [5.2, 5.2, 1.2, 1.2],
    [4.5, 10.5, 10.5, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [1.2, 5.2, 5.2, 1.2, 1.2],
    [4.5, 4.5, 10.5, 10.5, 4.5],
    color = '#767676'
)

#roof of first building - starts here
plt.fill(
    [1.2, 5.2, 4.9, 1.5, 1.2],
    [10.5, 10.5, 10.9, 10.9, 10.5],
    color = 'black'
)
#roof of first building - ends here

## first building door - starts here
plt.plot(
    [2.9, 3.5, 3.5, 2.9],
    [4.5, 4.5, 5.5, 5.5],
    color = 'black'
)

plt.fill(
    [2.9, 3.5, 3.5, 2.9],
    [4.5, 4.5, 5.5, 5.5],
    color = '#383838'
)
## first building door - ends here

##***************************************************
## first building - windows - first row - starts here
### first window of first row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### first window of first row - ends here

### second window of first row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### second window of first row - ends here

### third window of first row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### third window of first row - ends here

### fourth window of first row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### fourth window of first row - ends here
## first building - windows - first row - ends here
##*************************************************

##*************************************************
## first building - windows - second row - starts here
### first window of second row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### first window of second row - ends here

### second window of second row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### second window of second row - ends here

### third window of second row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### third window of second row - ends here

### fourth window of second row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### fourth window of second row - ends here
## first building - windows - second row - ends here
##*************************************************


##*************************************************
## first building - windows - third row - starts here
### first window of third row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### first window of third row - ends here
### second window of third row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### second window of third row - ends here
### third window of third row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### third window of third row - ends here
### fourth window of third row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### fourth window of third row - ends here
## first building - windows - third row - ends here
##*************************************************


##*************************************************
## first building - windows - fourth row - starts here
### first window of fourth row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### first window of fourth row - ends here
### second window of fourth row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### second window of fourth row - ends here
### third window of fourth row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### third window of fourth row - ends here
### fourth window of fourth row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### fourth window of fourth row - ends here
## first building - windows - fourth row - ends here
##*************************************************

##*************************************************
## first building - windows - fifth row - starts here
### first window of fifth row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### first window of fifth row - ends here
### second window of fifth row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### second window of fifth row - ends here
### third window of fifth row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### third window of fifth row - ends here
### fourth window of fifth row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### fourth window of fifth row - ends here
## first building - windows - fifth row - ends here
##*************************************************
# first building from left side - ends here


# second building - starts here
## second building outline - starts here
plt.plot(
    [5.8, 10, 10, 5.8, 5.8],
    [4.5, 4.5, 16, 16, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [5.8, 10, 10, 5.8],
    [4.5, 4.5, 16, 16],
    color = '#767676'
)
## second building outline - ends here

## second building roof - starts here
plt.fill(
    [5.8, 10, 9.8, 6, 5.8],
    [16, 16, 16.2, 16.2, 16],
    color = 'black'
)

plt.fill(
    [5.8, 10, 9.8, 6, 5.8],
    [16, 16, 16.2, 16.2, 16],
    color = '#D0E5E8'
)
## second building roof - ends here

## second building door - starts here
plt.plot(
    [8, 9, 9, 8, 8],
    [4.5, 4.5, 6, 6, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [8, 9, 9, 8, 8],
    [4.5, 4.5, 6, 6, 4.5],
    color = '#383838'
)
## second building door - ends here
## second building windows - starts here
### second building first row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = '#01C0F6'
)
### second building first row windows - starts here
### second building second row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = '#01C0F6'
)
### second building second row windows - ends here
### second building third row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = '#01C0F6'
)
### second building third row windows - ends here
### second building fourth row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = '#01C0F6'
)
### second building fourth row windows - ends here
### second building fifth row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = '#01C0F6'
)
### second building fifth row windows - ends here
## second building windows - ends here
# second building - ends here

# fourth building - starts here
## fourth building outline - starts here
plt.plot(
    [10, 15, 15, 10, 10],
    [4.5, 4.5, 20, 20, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [10, 15, 15, 10, 10],
    [4.5, 4.5, 20, 20, 4.5],
    color = '#253D6D'
)
## fourth building outline - ends here

## fourth building horizental lines - starts here
plt.plot(
    [10, 15],
    [6, 6],
    color = 'black', lw = 2
)

plt.plot(
    [10, 15],
    [7.5, 7.5],
    color = 'black', lw = 2
)
plt.plot(
    [10, 15],
    [9, 9],
    color = 'black', lw = 2
)

plt.plot(
    [10, 15],
    [10.5, 10.5],
    color = 'black', lw = 2
)

plt.plot(
    [10, 15],
    [12, 12],
    color = 'black', lw = 2
)

plt.plot(
    [10, 15],
    [13.5, 13.5],
    color = 'black', lw = 2
)
plt.plot(
    [10, 15],
    [15, 15],
    color = 'black', lw = 2
)
plt.plot(
    [10, 15],
    [16.5, 16.5],
    color = 'black', lw = 2
)
plt.plot(
    [10, 15],
    [18, 18],
    color = 'black', lw = 2
)

plt.plot(
    [10, 15],
    [19.5, 19.5],
    color = 'black', lw = 2
)
## fourth building horizental lines - ends here

## fourth building vertical lines - starts here
plt.plot(
    [11, 11],
    [4.5, 20],
    color = 'black', lw = 2
)
plt.plot(
    [12, 12],
    [4.5, 20],
    color = 'black', lw = 2
)
plt.plot(
    [13, 13],
    [4.5, 20],
    color = 'black', lw = 2
)
plt.plot(
    [14, 14],
    [4.5, 20],
    color = 'black', lw = 2
)
## fourth building vertical lines - ends here
## fourth building door - starts here
plt.fill(
    [12, 13, 13, 12, 12],
    [4.5, 4.5, 6, 6, 4.5],
    color = '#6279A2'
)
## fourth building door - ends here
# fourth building - ends here

# fifth building - starts here
## fifth building outline - starts here
plt.plot(
    [15, 19.8, 19.8, 15, 15],
    [4.5, 4.5, 13, 13, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [15, 19.8, 19.8, 15, 15],
    [4.5, 4.5, 13, 13, 4.5],
    color = '#7B7B7B'
)
## fifth building outline - ends here

## fifth building roof - starts here
plt.plot(
    [15, 19.8, 19.5, 15.2, 15],
    [13, 13, 13.3, 13.3, 13],
    color = 'black'
)
plt.fill(
    [15, 19.8, 19.5, 15.2, 15],
    [13, 13, 13.3, 13.3, 13],
    color = 'black'
)

## fifth building roof - ends here

## fifth building door - starts here
plt.plot(
    [17, 18, 18, 17, 17],
    [4.5, 4.5, 6, 6, 4.5],
    color = 'black'
)
plt.fill(
    [17, 18, 18, 17, 17],
    [4.5, 4.5, 6, 6, 4.5],
    color = '#3B3B3B'
)
## fifth building door - ends here

## fifth building windows - starts here
### fifth building windows first row - starts here
plt.plot(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = 'black', lw = 2
)

plt.fill(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = '#00BEF4'
)

plt.plot(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = 'black', lw = 2
)

plt.fill(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = '#00BEF4'
)

plt.plot(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = 'black', lw = 2
)

plt.fill(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = '#00BEF4'
)

plt.plot(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = 'black', lw = 2
)

plt.fill(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = '#00BEF4'
)

plt.plot(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = 'black', lw = 2
)

plt.fill(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = '#00BEF4'
)
### fifth building windows first row - ends here

### fifth building windows second row - starts here
plt.plot(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [7.2, 7.2, 7.7, 7.7, 7.2],
    color = 'black', lw = 2
)

plt.fill(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [7.2, 7.2, 7.7, 7.7, 7.2],
    color = '#00BEF4'
)

plt.plot(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [7.2, 7.2, 7.7, 7.7, 7.2],
    color = 'black', lw = 2
)

plt.fill(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [7.2, 7.2, 7.7, 7.7, 7.2],
    color = '#00BEF4'
)

plt.plot(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [7.2, 7.2, 7.7, 7.7, 7.2],
    color = 'black', lw = 2
)

plt.fill(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [7.2, 7.2, 7.7, 7.7, 7.2],
    color = '#00BEF4'
)

plt.plot(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [7.2, 7.2, 7.7, 7.7, 7.2],
    color = 'black', lw = 2
)

plt.fill(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [7.2, 7.2, 7.7, 7.7, 7.2],
    color = '#00BEF4'
)

plt.plot(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [7.2, 7.2, 7.7, 7.7, 7.2],
    color = 'black', lw = 2
)

plt.fill(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [7.2, 7.2, 7.7, 7.7, 7.2],
    color = '#00BEF4'
)
### fifth building windows second row - ends here

### fifth building windows third row - starts here
plt.plot(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [8.2, 8.2, 8.7, 8.7, 8.2],
    color = 'black', lw = 2
)

plt.fill(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [8.2, 8.2, 8.7, 8.7, 8.2],
    color = '#00BEF4'
)

plt.plot(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [8.2, 8.2, 8.7, 8.7, 8.2],
    color = 'black', lw = 2
)

plt.fill(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [8.2, 8.2, 8.7, 8.7, 8.2],
    color = '#00BEF4'
)

plt.plot(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [8.2, 8.2, 8.7, 8.7, 8.2],
    color = 'black', lw = 2
)

plt.fill(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [8.2, 8.2, 8.7, 8.7, 8.2],
    color = '#00BEF4'
)

plt.plot(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [8.2, 8.2, 8.7, 8.7, 8.2],
    color = 'black', lw = 2
)

plt.fill(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [8.2, 8.2, 8.7, 8.7, 8.2],
    color = '#00BEF4'
)

plt.plot(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [8.2, 8.2, 8.7, 8.7, 8.2],
    color = 'black', lw = 2
)

plt.fill(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [8.2, 8.2, 8.7, 8.7, 8.2],
    color = '#00BEF4'
)
### fifth building windows third row - ends here
### fifth building windows fourth row - starts here
plt.plot(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [9.2, 9.2, 9.7, 9.7, 9.2],
    color = 'black', lw = 2
)

plt.fill(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [9.2, 9.2, 9.7, 9.7, 9.2],
    color = '#00BEF4'
)

plt.plot(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [9.2, 9.2, 9.7, 9.7, 9.2],
    color = 'black', lw = 2
)

plt.fill(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [9.2, 9.2, 9.7, 9.7, 9.2],
    color = '#00BEF4'
)

plt.plot(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [9.2, 9.2, 9.7, 9.7, 9.2],
    color = 'black', lw = 2
)

plt.fill(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [9.2, 9.2, 9.7, 9.7, 9.2],
    color = '#00BEF4'
)

plt.plot(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [9.2, 9.2, 9.7, 9.7, 9.2],
    color = 'black', lw = 2
)

plt.fill(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [9.2, 9.2, 9.7, 9.7, 9.2],
    color = '#00BEF4'
)

plt.plot(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [9.2, 9.2, 9.7, 9.7, 9.2],
    color = 'black', lw = 2
)

plt.fill(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [9.2, 9.2, 9.7, 9.7, 9.2],
    color = '#00BEF4'
)
### fifth building windows fourth row - ends here
### fifth building windows fifth row - starts here
plt.plot(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [10.2, 10.2, 10.7, 10.7, 10.2],
    color = 'black', lw = 2
)

plt.fill(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [10.2, 10.2, 10.7, 10.7, 10.2],
    color = '#00BEF4'
)

plt.plot(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [10.2, 10.2, 10.7, 10.7, 10.2],
    color = 'black', lw = 2
)

plt.fill(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [10.2, 10.2, 10.7, 10.7, 10.2],
    color = '#00BEF4'
)

plt.plot(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [10.2, 10.2, 10.7, 10.7, 10.2],
    color = 'black', lw = 2
)

plt.fill(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [10.2, 10.2, 10.7, 10.7, 10.2],
    color = '#00BEF4'
)

plt.plot(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [10.2, 10.2, 10.7, 10.7, 10.2],
    color = 'black', lw = 2
)

plt.fill(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [10.2, 10.2, 10.7, 10.7, 10.2],
    color = '#00BEF4'
)

plt.plot(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [10.2, 10.2, 10.7, 10.7, 10.2],
    color = 'black', lw = 2
)

plt.fill(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [10.2, 10.2, 10.7, 10.7, 10.2],
    color = '#00BEF4'
)
### fifth building windows fifth row - ends here
### fifth building windows sixth row - starts here
plt.plot(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [11.2, 11.2, 11.7, 11.7, 11.2],
    color = 'black', lw = 2
)

plt.fill(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [11.2, 11.2, 11.7, 11.7, 11.2],
    color = '#00BEF4'
)

plt.plot(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [11.2, 11.2, 11.7, 11.7, 11.2],
    color = 'black', lw = 2
)

plt.fill(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [11.2, 11.2, 11.7, 11.7, 11.2],
    color = '#00BEF4'
)

plt.plot(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [11.2, 11.2, 11.7, 11.7, 11.2],
    color = 'black', lw = 2
)

plt.fill(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [11.2, 11.2, 11.7, 11.7, 11.2],
    color = '#00BEF4'
)

plt.plot(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [11.2, 11.2, 11.7, 11.7, 11.2],
    color = 'black', lw = 2
)

plt.fill(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [11.2, 11.2, 11.7, 11.7, 11.2],
    color = '#00BEF4'
)

plt.plot(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [11.2, 11.2, 11.7, 11.7, 11.2],
    color = 'black', lw = 2
)

plt.fill(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [11.2, 11.2, 11.7, 11.7, 11.2],
    color = '#00BEF4'
)
### fifth building windows sixth row - ends here
### fifth building windows seven row - starts here
plt.plot(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [12.2, 12.2, 12.7, 12.7, 12.2],
    color = 'black', lw = 2
)

plt.fill(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [12.2, 12.2, 12.7, 12.7, 12.2],
    color = '#00BEF4'
)

plt.plot(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [12.2, 12.2, 12.7, 12.7, 12.2],
    color = 'black', lw = 2
)

plt.fill(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [12.2, 12.2, 12.7, 12.7, 12.2],
    color = '#00BEF4'
)

plt.plot(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [12.2, 12.2, 12.7, 12.7, 12.2],
    color = 'black', lw = 2
)

plt.fill(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [12.2, 12.2, 12.7, 12.7, 12.2],
    color = '#00BEF4'
)

plt.plot(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [12.2, 12.2, 12.7, 12.7, 12.2],
    color = 'black', lw = 2
)

plt.fill(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [12.2, 12.2, 12.7, 12.7, 12.2],
    color = '#00BEF4'
)

plt.plot(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [12.2, 12.2, 12.7, 12.7, 12.2],
    color = 'black', lw = 2
)

plt.fill(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [12.2, 12.2, 12.7, 12.7, 12.2],
    color = '#00BEF4'
)
### fifth building windows seven row - ends here
## fifth building windows - ends here

# fifth building - ends here

plt.xlim(1, 20)
plt.ylim(1, 20)
plt.show()

Sixth building

In [28]:
plt.figure(figsize = (22, 18))

# first road from bottom - starts here 
plt.fill(
    [1, 20, 20, 1, 1],
    [1, 1, 2.5, 2.5, 1],
    color = '#010101'
)
# first road from bottom - ends here 

# second road - starts here
plt.plot(
    [1, 20],
    [3.5, 3.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [2.5, 2.5, 3.5, 3.5],
    color = '#262626'
)
# second road - ends here


# third road - starts here
plt.plot(
    [1, 20],
    [4.5, 4.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [3.5, 3.5, 4.5, 4.5],
    color = '#4D4D4D'
)
# third road - ends here


# draw background or sky - starts here
plt.fill(
    [1, 20, 20, 1],
    [4.5, 4.5, 20, 20],
    color = '#C3FFFF'
)
#draw background - ends here

# third building - starts here
## third building outline - starts here
plt.plot(
    [4.8, 5.8, 5.8, 4.8, 4.8],
    [4.5, 4.5, 12.5, 12.5, 10.5],
    color = 'black'
)

plt.fill(
    [4.8, 5.8, 5.8, 4.8, 4.8],
    [4.5, 4.5, 12.5, 12.5, 4.5],
    color = '#6F7B71'
)
## thord building outline - ends here

## third building roof - starts here
plt.plot(
    [4.4, 5.8, 5.8, 4.6, 4.4],
    [12.5, 12.5, 13.2, 13.2, 12.5],
    color = 'black'
)
plt.fill(
    [4.4, 5.8, 5.8, 4.6, 4.4],
    [12.5, 12.5, 13.2, 13.2, 12.5],
    color = '#FD9427'
)
## third building roof - ends here

## third building windows - starts here
plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [10.75, 10.75, 11.25, 11.25, 10.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [10.75, 10.75, 11.25, 11.25, 10.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [11.75, 11.75, 12.25, 12.25, 11.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [11.75, 11.75, 12.25, 12.25, 11.75],
    color = '#04BEF9'
)

## third building windows - ends here

# third building - ends here




# first building from left side - starts here
plt.plot(
    [5.2, 5.2, 1.2, 1.2],
    [4.5, 10.5, 10.5, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [1.2, 5.2, 5.2, 1.2, 1.2],
    [4.5, 4.5, 10.5, 10.5, 4.5],
    color = '#767676'
)

#roof of first building - starts here
plt.fill(
    [1.2, 5.2, 4.9, 1.5, 1.2],
    [10.5, 10.5, 10.9, 10.9, 10.5],
    color = 'black'
)
#roof of first building - ends here

## first building door - starts here
plt.plot(
    [2.9, 3.5, 3.5, 2.9],
    [4.5, 4.5, 5.5, 5.5],
    color = 'black'
)

plt.fill(
    [2.9, 3.5, 3.5, 2.9],
    [4.5, 4.5, 5.5, 5.5],
    color = '#383838'
)
## first building door - ends here

##***************************************************
## first building - windows - first row - starts here
### first window of first row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### first window of first row - ends here

### second window of first row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### second window of first row - ends here

### third window of first row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### third window of first row - ends here

### fourth window of first row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### fourth window of first row - ends here
## first building - windows - first row - ends here
##*************************************************

##*************************************************
## first building - windows - second row - starts here
### first window of second row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### first window of second row - ends here

### second window of second row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### second window of second row - ends here

### third window of second row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### third window of second row - ends here

### fourth window of second row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### fourth window of second row - ends here
## first building - windows - second row - ends here
##*************************************************


##*************************************************
## first building - windows - third row - starts here
### first window of third row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### first window of third row - ends here
### second window of third row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### second window of third row - ends here
### third window of third row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### third window of third row - ends here
### fourth window of third row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### fourth window of third row - ends here
## first building - windows - third row - ends here
##*************************************************


##*************************************************
## first building - windows - fourth row - starts here
### first window of fourth row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### first window of fourth row - ends here
### second window of fourth row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### second window of fourth row - ends here
### third window of fourth row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### third window of fourth row - ends here
### fourth window of fourth row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### fourth window of fourth row - ends here
## first building - windows - fourth row - ends here
##*************************************************

##*************************************************
## first building - windows - fifth row - starts here
### first window of fifth row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### first window of fifth row - ends here
### second window of fifth row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### second window of fifth row - ends here
### third window of fifth row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### third window of fifth row - ends here
### fourth window of fifth row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### fourth window of fifth row - ends here
## first building - windows - fifth row - ends here
##*************************************************
# first building from left side - ends here


# second building - starts here
## second building outline - starts here
plt.plot(
    [5.8, 10, 10, 5.8, 5.8],
    [4.5, 4.5, 16, 16, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [5.8, 10, 10, 5.8],
    [4.5, 4.5, 16, 16],
    color = '#767676'
)
## second building outline - ends here

## second building roof - starts here
plt.fill(
    [5.8, 10, 9.8, 6, 5.8],
    [16, 16, 16.2, 16.2, 16],
    color = 'black'
)

plt.fill(
    [5.8, 10, 9.8, 6, 5.8],
    [16, 16, 16.2, 16.2, 16],
    color = '#D0E5E8'
)
## second building roof - ends here

## second building door - starts here
plt.plot(
    [8, 9, 9, 8, 8],
    [4.5, 4.5, 6, 6, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [8, 9, 9, 8, 8],
    [4.5, 4.5, 6, 6, 4.5],
    color = '#383838'
)
## second building door - ends here
## second building windows - starts here
### second building first row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = '#01C0F6'
)
### second building first row windows - starts here
### second building second row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = '#01C0F6'
)
### second building second row windows - ends here
### second building third row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = '#01C0F6'
)
### second building third row windows - ends here
### second building fourth row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = '#01C0F6'
)
### second building fourth row windows - ends here
### second building fifth row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = '#01C0F6'
)
### second building fifth row windows - ends here
## second building windows - ends here
# second building - ends here

# fourth building - starts here
## fourth building outline - starts here
plt.plot(
    [10, 15, 15, 10, 10],
    [4.5, 4.5, 20, 20, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [10, 15, 15, 10, 10],
    [4.5, 4.5, 20, 20, 4.5],
    color = '#253D6D'
)
## fourth building outline - ends here

## fourth building horizental lines - starts here
plt.plot(
    [10, 15],
    [6, 6],
    color = 'black', lw = 2
)

plt.plot(
    [10, 15],
    [7.5, 7.5],
    color = 'black', lw = 2
)
plt.plot(
    [10, 15],
    [9, 9],
    color = 'black', lw = 2
)

plt.plot(
    [10, 15],
    [10.5, 10.5],
    color = 'black', lw = 2
)

plt.plot(
    [10, 15],
    [12, 12],
    color = 'black', lw = 2
)

plt.plot(
    [10, 15],
    [13.5, 13.5],
    color = 'black', lw = 2
)
plt.plot(
    [10, 15],
    [15, 15],
    color = 'black', lw = 2
)
plt.plot(
    [10, 15],
    [16.5, 16.5],
    color = 'black', lw = 2
)
plt.plot(
    [10, 15],
    [18, 18],
    color = 'black', lw = 2
)

plt.plot(
    [10, 15],
    [19.5, 19.5],
    color = 'black', lw = 2
)
## fourth building horizental lines - ends here

## fourth building vertical lines - starts here
plt.plot(
    [11, 11],
    [4.5, 20],
    color = 'black', lw = 2
)
plt.plot(
    [12, 12],
    [4.5, 20],
    color = 'black', lw = 2
)
plt.plot(
    [13, 13],
    [4.5, 20],
    color = 'black', lw = 2
)
plt.plot(
    [14, 14],
    [4.5, 20],
    color = 'black', lw = 2
)
## fourth building vertical lines - ends here
## fourth building door - starts here
plt.fill(
    [12, 13, 13, 12, 12],
    [4.5, 4.5, 6, 6, 4.5],
    color = '#6279A2'
)
## fourth building door - ends here
# fourth building - ends here

# fifth building - starts here
## fifth building outline - starts here
plt.plot(
    [15, 19.8, 19.8, 15, 15],
    [4.5, 4.5, 13, 13, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [15, 19.8, 19.8, 15, 15],
    [4.5, 4.5, 13, 13, 4.5],
    color = '#7B7B7B'
)
## fifth building outline - ends here

## fifth building roof - starts here
plt.plot(
    [15, 19.8, 19.5, 15.2, 15],
    [13, 13, 13.3, 13.3, 13],
    color = 'black'
)
plt.fill(
    [15, 19.8, 19.5, 15.2, 15],
    [13, 13, 13.3, 13.3, 13],
    color = 'black'
)

## fifth building roof - ends here

## fifth building door - starts here
plt.plot(
    [17, 18, 18, 17, 17],
    [4.5, 4.5, 6, 6, 4.5],
    color = 'black'
)
plt.fill(
    [17, 18, 18, 17, 17],
    [4.5, 4.5, 6, 6, 4.5],
    color = '#3B3B3B'
)
## fifth building door - ends here

## fifth building windows - starts here
### fifth building windows first row - starts here
plt.plot(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = 'black', lw = 2
)

plt.fill(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = '#00BEF4'
)

plt.plot(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = 'black', lw = 2
)

plt.fill(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = '#00BEF4'
)

plt.plot(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = 'black', lw = 2
)

plt.fill(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = '#00BEF4'
)

plt.plot(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = 'black', lw = 2
)

plt.fill(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = '#00BEF4'
)

plt.plot(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = 'black', lw = 2
)

plt.fill(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = '#00BEF4'
)
### fifth building windows first row - ends here

### fifth building windows second row - starts here
plt.plot(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [7.2, 7.2, 7.7, 7.7, 7.2],
    color = 'black', lw = 2
)

plt.fill(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [7.2, 7.2, 7.7, 7.7, 7.2],
    color = '#00BEF4'
)

plt.plot(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [7.2, 7.2, 7.7, 7.7, 7.2],
    color = 'black', lw = 2
)

plt.fill(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [7.2, 7.2, 7.7, 7.7, 7.2],
    color = '#00BEF4'
)

plt.plot(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [7.2, 7.2, 7.7, 7.7, 7.2],
    color = 'black', lw = 2
)

plt.fill(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [7.2, 7.2, 7.7, 7.7, 7.2],
    color = '#00BEF4'
)

plt.plot(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [7.2, 7.2, 7.7, 7.7, 7.2],
    color = 'black', lw = 2
)

plt.fill(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [7.2, 7.2, 7.7, 7.7, 7.2],
    color = '#00BEF4'
)

plt.plot(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [7.2, 7.2, 7.7, 7.7, 7.2],
    color = 'black', lw = 2
)

plt.fill(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [7.2, 7.2, 7.7, 7.7, 7.2],
    color = '#00BEF4'
)
### fifth building windows second row - ends here

### fifth building windows third row - starts here
plt.plot(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [8.2, 8.2, 8.7, 8.7, 8.2],
    color = 'black', lw = 2
)

plt.fill(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [8.2, 8.2, 8.7, 8.7, 8.2],
    color = '#00BEF4'
)

plt.plot(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [8.2, 8.2, 8.7, 8.7, 8.2],
    color = 'black', lw = 2
)

plt.fill(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [8.2, 8.2, 8.7, 8.7, 8.2],
    color = '#00BEF4'
)

plt.plot(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [8.2, 8.2, 8.7, 8.7, 8.2],
    color = 'black', lw = 2
)

plt.fill(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [8.2, 8.2, 8.7, 8.7, 8.2],
    color = '#00BEF4'
)

plt.plot(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [8.2, 8.2, 8.7, 8.7, 8.2],
    color = 'black', lw = 2
)

plt.fill(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [8.2, 8.2, 8.7, 8.7, 8.2],
    color = '#00BEF4'
)

plt.plot(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [8.2, 8.2, 8.7, 8.7, 8.2],
    color = 'black', lw = 2
)

plt.fill(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [8.2, 8.2, 8.7, 8.7, 8.2],
    color = '#00BEF4'
)
### fifth building windows third row - ends here
### fifth building windows fourth row - starts here
plt.plot(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [9.2, 9.2, 9.7, 9.7, 9.2],
    color = 'black', lw = 2
)

plt.fill(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [9.2, 9.2, 9.7, 9.7, 9.2],
    color = '#00BEF4'
)

plt.plot(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [9.2, 9.2, 9.7, 9.7, 9.2],
    color = 'black', lw = 2
)

plt.fill(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [9.2, 9.2, 9.7, 9.7, 9.2],
    color = '#00BEF4'
)

plt.plot(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [9.2, 9.2, 9.7, 9.7, 9.2],
    color = 'black', lw = 2
)

plt.fill(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [9.2, 9.2, 9.7, 9.7, 9.2],
    color = '#00BEF4'
)

plt.plot(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [9.2, 9.2, 9.7, 9.7, 9.2],
    color = 'black', lw = 2
)

plt.fill(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [9.2, 9.2, 9.7, 9.7, 9.2],
    color = '#00BEF4'
)

plt.plot(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [9.2, 9.2, 9.7, 9.7, 9.2],
    color = 'black', lw = 2
)

plt.fill(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [9.2, 9.2, 9.7, 9.7, 9.2],
    color = '#00BEF4'
)
### fifth building windows fourth row - ends here
### fifth building windows fifth row - starts here
plt.plot(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [10.2, 10.2, 10.7, 10.7, 10.2],
    color = 'black', lw = 2
)

plt.fill(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [10.2, 10.2, 10.7, 10.7, 10.2],
    color = '#00BEF4'
)

plt.plot(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [10.2, 10.2, 10.7, 10.7, 10.2],
    color = 'black', lw = 2
)

plt.fill(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [10.2, 10.2, 10.7, 10.7, 10.2],
    color = '#00BEF4'
)

plt.plot(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [10.2, 10.2, 10.7, 10.7, 10.2],
    color = 'black', lw = 2
)

plt.fill(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [10.2, 10.2, 10.7, 10.7, 10.2],
    color = '#00BEF4'
)

plt.plot(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [10.2, 10.2, 10.7, 10.7, 10.2],
    color = 'black', lw = 2
)

plt.fill(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [10.2, 10.2, 10.7, 10.7, 10.2],
    color = '#00BEF4'
)

plt.plot(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [10.2, 10.2, 10.7, 10.7, 10.2],
    color = 'black', lw = 2
)

plt.fill(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [10.2, 10.2, 10.7, 10.7, 10.2],
    color = '#00BEF4'
)
### fifth building windows fifth row - ends here
### fifth building windows sixth row - starts here
plt.plot(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [11.2, 11.2, 11.7, 11.7, 11.2],
    color = 'black', lw = 2
)

plt.fill(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [11.2, 11.2, 11.7, 11.7, 11.2],
    color = '#00BEF4'
)

plt.plot(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [11.2, 11.2, 11.7, 11.7, 11.2],
    color = 'black', lw = 2
)

plt.fill(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [11.2, 11.2, 11.7, 11.7, 11.2],
    color = '#00BEF4'
)

plt.plot(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [11.2, 11.2, 11.7, 11.7, 11.2],
    color = 'black', lw = 2
)

plt.fill(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [11.2, 11.2, 11.7, 11.7, 11.2],
    color = '#00BEF4'
)

plt.plot(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [11.2, 11.2, 11.7, 11.7, 11.2],
    color = 'black', lw = 2
)

plt.fill(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [11.2, 11.2, 11.7, 11.7, 11.2],
    color = '#00BEF4'
)

plt.plot(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [11.2, 11.2, 11.7, 11.7, 11.2],
    color = 'black', lw = 2
)

plt.fill(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [11.2, 11.2, 11.7, 11.7, 11.2],
    color = '#00BEF4'
)
### fifth building windows sixth row - ends here
### fifth building windows seven row - starts here
plt.plot(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [12.2, 12.2, 12.7, 12.7, 12.2],
    color = 'black', lw = 2
)

plt.fill(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [12.2, 12.2, 12.7, 12.7, 12.2],
    color = '#00BEF4'
)

plt.plot(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [12.2, 12.2, 12.7, 12.7, 12.2],
    color = 'black', lw = 2
)

plt.fill(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [12.2, 12.2, 12.7, 12.7, 12.2],
    color = '#00BEF4'
)

plt.plot(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [12.2, 12.2, 12.7, 12.7, 12.2],
    color = 'black', lw = 2
)

plt.fill(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [12.2, 12.2, 12.7, 12.7, 12.2],
    color = '#00BEF4'
)

plt.plot(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [12.2, 12.2, 12.7, 12.7, 12.2],
    color = 'black', lw = 2
)

plt.fill(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [12.2, 12.2, 12.7, 12.7, 12.2],
    color = '#00BEF4'
)

plt.plot(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [12.2, 12.2, 12.7, 12.7, 12.2],
    color = 'black', lw = 2
)

plt.fill(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [12.2, 12.2, 12.7, 12.7, 12.2],
    color = '#00BEF4'
)
### fifth building windows seven row - ends here
## fifth building windows - ends here
# fifth building - ends here

# sixth building - starts here
## sixth building outline - starts here
plt.plot(
    [15, 16.5, 16.5, 15, 15],
    [16, 16, 13, 13, 16],
    color = 'black'
)
plt.fill(
    [15, 16.5, 16.5, 15, 15],
    [16, 16, 13, 13, 16],
    color = '#AEAEAE'
)

## sixth building outline - ends here

## sixth building roof - starts here
plt.plot(
    [15, 16.8, 16.5, 15, 15],
    [16, 16, 16.5, 16.5, 16],
    color = 'black',
    lw = 2
)
plt.fill(
    [15, 16.8, 16.5, 15, 15],
    [16, 16, 16.5, 16.5, 16],
    color = '#FD9427'
)

## sixth building roof - ends here
# sixth building - ends here

plt.xlim(1, 20)
plt.ylim(1, 20)
plt.show()
In [29]:
plt.figure(figsize = (22, 18))

# first road from bottom - starts here 
plt.fill(
    [1, 20, 20, 1, 1],
    [1, 1, 2.5, 2.5, 1],
    color = '#010101'
)
# first road from bottom - ends here 

# second road - starts here
plt.plot(
    [1, 20],
    [3.5, 3.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [2.5, 2.5, 3.5, 3.5],
    color = '#262626'
)
# second road - ends here


# third road - starts here
plt.plot(
    [1, 20],
    [4.5, 4.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [3.5, 3.5, 4.5, 4.5],
    color = '#4D4D4D'
)
# third road - ends here


# draw background or sky - starts here
plt.fill(
    [1, 20, 20, 1],
    [4.5, 4.5, 20, 20],
    color = '#C3FFFF'
)
#draw background - ends here

# third building - starts here
## third building outline - starts here
plt.plot(
    [4.8, 5.8, 5.8, 4.8, 4.8],
    [4.5, 4.5, 12.5, 12.5, 10.5],
    color = 'black'
)

plt.fill(
    [4.8, 5.8, 5.8, 4.8, 4.8],
    [4.5, 4.5, 12.5, 12.5, 4.5],
    color = '#6F7B71'
)
## thord building outline - ends here

## third building roof - starts here
plt.plot(
    [4.4, 5.8, 5.8, 4.6, 4.4],
    [12.5, 12.5, 13.2, 13.2, 12.5],
    color = 'black'
)
plt.fill(
    [4.4, 5.8, 5.8, 4.6, 4.4],
    [12.5, 12.5, 13.2, 13.2, 12.5],
    color = '#FD9427'
)
## third building roof - ends here

## third building windows - starts here
plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [10.75, 10.75, 11.25, 11.25, 10.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [10.75, 10.75, 11.25, 11.25, 10.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [11.75, 11.75, 12.25, 12.25, 11.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [11.75, 11.75, 12.25, 12.25, 11.75],
    color = '#04BEF9'
)

## third building windows - ends here

# third building - ends here




# first building from left side - starts here
plt.plot(
    [5.2, 5.2, 1.2, 1.2],
    [4.5, 10.5, 10.5, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [1.2, 5.2, 5.2, 1.2, 1.2],
    [4.5, 4.5, 10.5, 10.5, 4.5],
    color = '#767676'
)

#roof of first building - starts here
plt.fill(
    [1.2, 5.2, 4.9, 1.5, 1.2],
    [10.5, 10.5, 10.9, 10.9, 10.5],
    color = 'black'
)
#roof of first building - ends here

## first building door - starts here
plt.plot(
    [2.9, 3.5, 3.5, 2.9],
    [4.5, 4.5, 5.5, 5.5],
    color = 'black'
)

plt.fill(
    [2.9, 3.5, 3.5, 2.9],
    [4.5, 4.5, 5.5, 5.5],
    color = '#383838'
)
## first building door - ends here

##***************************************************
## first building - windows - first row - starts here
### first window of first row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### first window of first row - ends here

### second window of first row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### second window of first row - ends here

### third window of first row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### third window of first row - ends here

### fourth window of first row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### fourth window of first row - ends here
## first building - windows - first row - ends here
##*************************************************

##*************************************************
## first building - windows - second row - starts here
### first window of second row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### first window of second row - ends here

### second window of second row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### second window of second row - ends here

### third window of second row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### third window of second row - ends here

### fourth window of second row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### fourth window of second row - ends here
## first building - windows - second row - ends here
##*************************************************


##*************************************************
## first building - windows - third row - starts here
### first window of third row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### first window of third row - ends here
### second window of third row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### second window of third row - ends here
### third window of third row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### third window of third row - ends here
### fourth window of third row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### fourth window of third row - ends here
## first building - windows - third row - ends here
##*************************************************


##*************************************************
## first building - windows - fourth row - starts here
### first window of fourth row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### first window of fourth row - ends here
### second window of fourth row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### second window of fourth row - ends here
### third window of fourth row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### third window of fourth row - ends here
### fourth window of fourth row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### fourth window of fourth row - ends here
## first building - windows - fourth row - ends here
##*************************************************

##*************************************************
## first building - windows - fifth row - starts here
### first window of fifth row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### first window of fifth row - ends here
### second window of fifth row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### second window of fifth row - ends here
### third window of fifth row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### third window of fifth row - ends here
### fourth window of fifth row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### fourth window of fifth row - ends here
## first building - windows - fifth row - ends here
##*************************************************
# first building from left side - ends here


# second building - starts here
## second building outline - starts here
plt.plot(
    [5.8, 10, 10, 5.8, 5.8],
    [4.5, 4.5, 16, 16, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [5.8, 10, 10, 5.8],
    [4.5, 4.5, 16, 16],
    color = '#767676'
)
## second building outline - ends here

## second building roof - starts here
plt.fill(
    [5.8, 10, 9.8, 6, 5.8],
    [16, 16, 16.2, 16.2, 16],
    color = 'black'
)

plt.fill(
    [5.8, 10, 9.8, 6, 5.8],
    [16, 16, 16.2, 16.2, 16],
    color = '#D0E5E8'
)
## second building roof - ends here

## second building door - starts here
plt.plot(
    [8, 9, 9, 8, 8],
    [4.5, 4.5, 6, 6, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [8, 9, 9, 8, 8],
    [4.5, 4.5, 6, 6, 4.5],
    color = '#383838'
)
## second building door - ends here
## second building windows - starts here
### second building first row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = '#01C0F6'
)
### second building first row windows - starts here
### second building second row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = '#01C0F6'
)
### second building second row windows - ends here
### second building third row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = '#01C0F6'
)
### second building third row windows - ends here
### second building fourth row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = '#01C0F6'
)
### second building fourth row windows - ends here
### second building fifth row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = '#01C0F6'
)
### second building fifth row windows - ends here
## second building windows - ends here
# second building - ends here

# fourth building - starts here
## fourth building outline - starts here
plt.plot(
    [10, 15, 15, 10, 10],
    [4.5, 4.5, 20, 20, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [10, 15, 15, 10, 10],
    [4.5, 4.5, 20, 20, 4.5],
    color = '#253D6D'
)
## fourth building outline - ends here

## fourth building horizental lines - starts here
plt.plot(
    [10, 15],
    [6, 6],
    color = 'black', lw = 2
)

plt.plot(
    [10, 15],
    [7.5, 7.5],
    color = 'black', lw = 2
)
plt.plot(
    [10, 15],
    [9, 9],
    color = 'black', lw = 2
)

plt.plot(
    [10, 15],
    [10.5, 10.5],
    color = 'black', lw = 2
)

plt.plot(
    [10, 15],
    [12, 12],
    color = 'black', lw = 2
)

plt.plot(
    [10, 15],
    [13.5, 13.5],
    color = 'black', lw = 2
)
plt.plot(
    [10, 15],
    [15, 15],
    color = 'black', lw = 2
)
plt.plot(
    [10, 15],
    [16.5, 16.5],
    color = 'black', lw = 2
)
plt.plot(
    [10, 15],
    [18, 18],
    color = 'black', lw = 2
)

plt.plot(
    [10, 15],
    [19.5, 19.5],
    color = 'black', lw = 2
)
## fourth building horizental lines - ends here

## fourth building vertical lines - starts here
plt.plot(
    [11, 11],
    [4.5, 20],
    color = 'black', lw = 2
)
plt.plot(
    [12, 12],
    [4.5, 20],
    color = 'black', lw = 2
)
plt.plot(
    [13, 13],
    [4.5, 20],
    color = 'black', lw = 2
)
plt.plot(
    [14, 14],
    [4.5, 20],
    color = 'black', lw = 2
)
## fourth building vertical lines - ends here
## fourth building door - starts here
plt.fill(
    [12, 13, 13, 12, 12],
    [4.5, 4.5, 6, 6, 4.5],
    color = '#6279A2'
)
## fourth building door - ends here
# fourth building - ends here

# sixth building - starts here
## sixth building outline - starts here
plt.plot(
    [15, 16.5, 16.5, 15, 15],
    [16, 16, 13.0, 13.0, 16],
    color = 'black'
)
plt.fill(
    [15, 16.5, 16.5, 15, 15],
    [16, 16, 13.0, 13.0, 16],
    color = '#AEAEAE'
)

## sixth building outline - ends here

## sixth building roof - starts here
plt.plot(
    [15, 16.8, 16.5, 15, 15],
    [16, 16, 16.5, 16.5, 16],
    color = 'black',
    lw = 2
)
plt.fill(
    [15, 16.8, 16.5, 15, 15],
    [16, 16, 16.5, 16.5, 16],
    color = '#FD9427'
)

## sixth building roof - ends here

## sixth building windows - starts here
plt.plot(
    [15.3, 16.1, 16.1, 15.3, 15.3],
    [14, 14, 14.5, 14.5, 14],
    color = 'black', lw = 2
)

plt.fill(
    [15.3, 16.1, 16.1, 15.3, 15.3],
    [14, 14, 14.5, 14.5, 14],
    color = '#00BAF1'
)

plt.plot(
    [15.3, 16.1, 16.1, 15.3, 15.3],
    [15, 15, 15.5, 15.5, 15],
    color = 'black', lw = 2
)

plt.fill(
    [15.3, 16.1, 16.1, 15.3, 15.3],
    [15, 15, 15.5, 15.5, 15],
    color = '#00BAF1'
)
## sixth building windows - ends here
# sixth building - ends here


# fifth building - starts here
## fifth building outline - starts here
plt.plot(
    [15, 19.8, 19.8, 15, 15],
    [4.5, 4.5, 13, 13, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [15, 19.8, 19.8, 15, 15],
    [4.5, 4.5, 13, 13, 4.5],
    color = '#7B7B7B'
)
## fifth building outline - ends here

## fifth building roof - starts here
plt.plot(
    [15, 19.8, 19.5, 15.2, 15],
    [13, 13, 13.3, 13.3, 13],
    color = 'black'
)
plt.fill(
    [15, 19.8, 19.5, 15.2, 15],
    [13, 13, 13.3, 13.3, 13],
    color = 'black'
)

## fifth building roof - ends here

## fifth building door - starts here
plt.plot(
    [17, 18, 18, 17, 17],
    [4.5, 4.5, 6, 6, 4.5],
    color = 'black'
)
plt.fill(
    [17, 18, 18, 17, 17],
    [4.5, 4.5, 6, 6, 4.5],
    color = '#3B3B3B'
)
## fifth building door - ends here

## fifth building windows - starts here
### fifth building windows first row - starts here
plt.plot(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = 'black', lw = 2
)

plt.fill(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = '#00BEF4'
)

plt.plot(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = 'black', lw = 2
)

plt.fill(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = '#00BEF4'
)

plt.plot(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = 'black', lw = 2
)

plt.fill(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = '#00BEF4'
)

plt.plot(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = 'black', lw = 2
)

plt.fill(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = '#00BEF4'
)

plt.plot(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = 'black', lw = 2
)

plt.fill(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = '#00BEF4'
)
### fifth building windows first row - ends here

### fifth building windows second row - starts here
plt.plot(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [7.2, 7.2, 7.7, 7.7, 7.2],
    color = 'black', lw = 2
)

plt.fill(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [7.2, 7.2, 7.7, 7.7, 7.2],
    color = '#00BEF4'
)

plt.plot(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [7.2, 7.2, 7.7, 7.7, 7.2],
    color = 'black', lw = 2
)

plt.fill(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [7.2, 7.2, 7.7, 7.7, 7.2],
    color = '#00BEF4'
)

plt.plot(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [7.2, 7.2, 7.7, 7.7, 7.2],
    color = 'black', lw = 2
)

plt.fill(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [7.2, 7.2, 7.7, 7.7, 7.2],
    color = '#00BEF4'
)

plt.plot(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [7.2, 7.2, 7.7, 7.7, 7.2],
    color = 'black', lw = 2
)

plt.fill(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [7.2, 7.2, 7.7, 7.7, 7.2],
    color = '#00BEF4'
)

plt.plot(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [7.2, 7.2, 7.7, 7.7, 7.2],
    color = 'black', lw = 2
)

plt.fill(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [7.2, 7.2, 7.7, 7.7, 7.2],
    color = '#00BEF4'
)
### fifth building windows second row - ends here

### fifth building windows third row - starts here
plt.plot(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [8.2, 8.2, 8.7, 8.7, 8.2],
    color = 'black', lw = 2
)

plt.fill(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [8.2, 8.2, 8.7, 8.7, 8.2],
    color = '#00BEF4'
)

plt.plot(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [8.2, 8.2, 8.7, 8.7, 8.2],
    color = 'black', lw = 2
)

plt.fill(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [8.2, 8.2, 8.7, 8.7, 8.2],
    color = '#00BEF4'
)

plt.plot(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [8.2, 8.2, 8.7, 8.7, 8.2],
    color = 'black', lw = 2
)

plt.fill(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [8.2, 8.2, 8.7, 8.7, 8.2],
    color = '#00BEF4'
)

plt.plot(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [8.2, 8.2, 8.7, 8.7, 8.2],
    color = 'black', lw = 2
)

plt.fill(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [8.2, 8.2, 8.7, 8.7, 8.2],
    color = '#00BEF4'
)

plt.plot(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [8.2, 8.2, 8.7, 8.7, 8.2],
    color = 'black', lw = 2
)

plt.fill(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [8.2, 8.2, 8.7, 8.7, 8.2],
    color = '#00BEF4'
)
### fifth building windows third row - ends here
### fifth building windows fourth row - starts here
plt.plot(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [9.2, 9.2, 9.7, 9.7, 9.2],
    color = 'black', lw = 2
)

plt.fill(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [9.2, 9.2, 9.7, 9.7, 9.2],
    color = '#00BEF4'
)

plt.plot(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [9.2, 9.2, 9.7, 9.7, 9.2],
    color = 'black', lw = 2
)

plt.fill(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [9.2, 9.2, 9.7, 9.7, 9.2],
    color = '#00BEF4'
)

plt.plot(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [9.2, 9.2, 9.7, 9.7, 9.2],
    color = 'black', lw = 2
)

plt.fill(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [9.2, 9.2, 9.7, 9.7, 9.2],
    color = '#00BEF4'
)

plt.plot(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [9.2, 9.2, 9.7, 9.7, 9.2],
    color = 'black', lw = 2
)

plt.fill(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [9.2, 9.2, 9.7, 9.7, 9.2],
    color = '#00BEF4'
)

plt.plot(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [9.2, 9.2, 9.7, 9.7, 9.2],
    color = 'black', lw = 2
)

plt.fill(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [9.2, 9.2, 9.7, 9.7, 9.2],
    color = '#00BEF4'
)
### fifth building windows fourth row - ends here
### fifth building windows fifth row - starts here
plt.plot(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [10.2, 10.2, 10.7, 10.7, 10.2],
    color = 'black', lw = 2
)

plt.fill(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [10.2, 10.2, 10.7, 10.7, 10.2],
    color = '#00BEF4'
)

plt.plot(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [10.2, 10.2, 10.7, 10.7, 10.2],
    color = 'black', lw = 2
)

plt.fill(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [10.2, 10.2, 10.7, 10.7, 10.2],
    color = '#00BEF4'
)

plt.plot(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [10.2, 10.2, 10.7, 10.7, 10.2],
    color = 'black', lw = 2
)

plt.fill(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [10.2, 10.2, 10.7, 10.7, 10.2],
    color = '#00BEF4'
)

plt.plot(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [10.2, 10.2, 10.7, 10.7, 10.2],
    color = 'black', lw = 2
)

plt.fill(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [10.2, 10.2, 10.7, 10.7, 10.2],
    color = '#00BEF4'
)

plt.plot(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [10.2, 10.2, 10.7, 10.7, 10.2],
    color = 'black', lw = 2
)

plt.fill(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [10.2, 10.2, 10.7, 10.7, 10.2],
    color = '#00BEF4'
)
### fifth building windows fifth row - ends here
### fifth building windows sixth row - starts here
plt.plot(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [11.2, 11.2, 11.7, 11.7, 11.2],
    color = 'black', lw = 2
)

plt.fill(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [11.2, 11.2, 11.7, 11.7, 11.2],
    color = '#00BEF4'
)

plt.plot(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [11.2, 11.2, 11.7, 11.7, 11.2],
    color = 'black', lw = 2
)

plt.fill(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [11.2, 11.2, 11.7, 11.7, 11.2],
    color = '#00BEF4'
)

plt.plot(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [11.2, 11.2, 11.7, 11.7, 11.2],
    color = 'black', lw = 2
)

plt.fill(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [11.2, 11.2, 11.7, 11.7, 11.2],
    color = '#00BEF4'
)

plt.plot(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [11.2, 11.2, 11.7, 11.7, 11.2],
    color = 'black', lw = 2
)

plt.fill(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [11.2, 11.2, 11.7, 11.7, 11.2],
    color = '#00BEF4'
)

plt.plot(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [11.2, 11.2, 11.7, 11.7, 11.2],
    color = 'black', lw = 2
)

plt.fill(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [11.2, 11.2, 11.7, 11.7, 11.2],
    color = '#00BEF4'
)
### fifth building windows sixth row - ends here
### fifth building windows seven row - starts here
plt.plot(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [12.2, 12.2, 12.7, 12.7, 12.2],
    color = 'black', lw = 2
)

plt.fill(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [12.2, 12.2, 12.7, 12.7, 12.2],
    color = '#00BEF4'
)

plt.plot(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [12.2, 12.2, 12.7, 12.7, 12.2],
    color = 'black', lw = 2
)

plt.fill(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [12.2, 12.2, 12.7, 12.7, 12.2],
    color = '#00BEF4'
)

plt.plot(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [12.2, 12.2, 12.7, 12.7, 12.2],
    color = 'black', lw = 2
)

plt.fill(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [12.2, 12.2, 12.7, 12.7, 12.2],
    color = '#00BEF4'
)

plt.plot(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [12.2, 12.2, 12.7, 12.7, 12.2],
    color = 'black', lw = 2
)

plt.fill(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [12.2, 12.2, 12.7, 12.7, 12.2],
    color = '#00BEF4'
)

plt.plot(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [12.2, 12.2, 12.7, 12.7, 12.2],
    color = 'black', lw = 2
)

plt.fill(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [12.2, 12.2, 12.7, 12.7, 12.2],
    color = '#00BEF4'
)
### fifth building windows seven row - ends here
## fifth building windows - ends here
# fifth building - ends here

plt.xlim(1, 20)
plt.ylim(1, 20)
plt.show()

Remove x axis and y axis ticks

In [30]:
plt.figure(figsize = (22, 18))

# first road from bottom - starts here 
plt.fill(
    [1, 20, 20, 1, 1],
    [1, 1, 2.5, 2.5, 1],
    color = '#010101'
)
# first road from bottom - ends here 

# second road - starts here
plt.plot(
    [1, 20],
    [3.5, 3.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [2.5, 2.5, 3.5, 3.5],
    color = '#262626'
)
# second road - ends here


# third road - starts here
plt.plot(
    [1, 20],
    [4.5, 4.5],
    color = 'black'
)
plt.fill(
    [1, 20, 20, 1],
    [3.5, 3.5, 4.5, 4.5],
    color = '#4D4D4D'
)
# third road - ends here


# draw background or sky - starts here
plt.fill(
    [1, 20, 20, 1],
    [4.5, 4.5, 20, 20],
    color = '#C3FFFF'
)
#draw background - ends here

# third building - starts here
## third building outline - starts here
plt.plot(
    [4.8, 5.8, 5.8, 4.8, 4.8],
    [4.5, 4.5, 12.5, 12.5, 10.5],
    color = 'black'
)

plt.fill(
    [4.8, 5.8, 5.8, 4.8, 4.8],
    [4.5, 4.5, 12.5, 12.5, 4.5],
    color = '#6F7B71'
)
## thord building outline - ends here

## third building roof - starts here
plt.plot(
    [4.4, 5.8, 5.8, 4.6, 4.4],
    [12.5, 12.5, 13.2, 13.2, 12.5],
    color = 'black'
)
plt.fill(
    [4.4, 5.8, 5.8, 4.6, 4.4],
    [12.5, 12.5, 13.2, 13.2, 12.5],
    color = '#FD9427'
)
## third building roof - ends here

## third building windows - starts here
plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [10.75, 10.75, 11.25, 11.25, 10.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [10.75, 10.75, 11.25, 11.25, 10.75],
    color = '#04BEF9'
)

plt.plot(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [11.75, 11.75, 12.25, 12.25, 11.75],
    color = 'black'
)
plt.fill(
    [5.35, 5.65, 5.65, 5.35, 5.35],
    [11.75, 11.75, 12.25, 12.25, 11.75],
    color = '#04BEF9'
)

## third building windows - ends here

# third building - ends here




# first building from left side - starts here
plt.plot(
    [5.2, 5.2, 1.2, 1.2],
    [4.5, 10.5, 10.5, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [1.2, 5.2, 5.2, 1.2, 1.2],
    [4.5, 4.5, 10.5, 10.5, 4.5],
    color = '#767676'
)

#roof of first building - starts here
plt.fill(
    [1.2, 5.2, 4.9, 1.5, 1.2],
    [10.5, 10.5, 10.9, 10.9, 10.5],
    color = 'black'
)
#roof of first building - ends here

## first building door - starts here
plt.plot(
    [2.9, 3.5, 3.5, 2.9],
    [4.5, 4.5, 5.5, 5.5],
    color = 'black'
)

plt.fill(
    [2.9, 3.5, 3.5, 2.9],
    [4.5, 4.5, 5.5, 5.5],
    color = '#383838'
)
## first building door - ends here

##***************************************************
## first building - windows - first row - starts here
### first window of first row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### first window of first row - ends here

### second window of first row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### second window of first row - ends here

### third window of first row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### third window of first row - ends here

### fourth window of first row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [5.75, 5.75, 6.25, 6.25, 5.75],
    color = '#04BEF9'
)
### fourth window of first row - ends here
## first building - windows - first row - ends here
##*************************************************

##*************************************************
## first building - windows - second row - starts here
### first window of second row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### first window of second row - ends here

### second window of second row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### second window of second row - ends here

### third window of second row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### third window of second row - ends here

### fourth window of second row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [6.75, 6.75, 7.25, 7.25, 6.75],
    color = '#04BEF9'
)
### fourth window of second row - ends here
## first building - windows - second row - ends here
##*************************************************


##*************************************************
## first building - windows - third row - starts here
### first window of third row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### first window of third row - ends here
### second window of third row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### second window of third row - ends here
### third window of third row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### third window of third row - ends here
### fourth window of third row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [7.75, 7.75, 8.25, 8.25, 7.75],
    color = '#04BEF9'
)
### fourth window of third row - ends here
## first building - windows - third row - ends here
##*************************************************


##*************************************************
## first building - windows - fourth row - starts here
### first window of fourth row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### first window of fourth row - ends here
### second window of fourth row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### second window of fourth row - ends here
### third window of fourth row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### third window of fourth row - ends here
### fourth window of fourth row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [8.75, 8.75, 9.25, 9.25, 8.75],
    color = '#04BEF9'
)
### fourth window of fourth row - ends here
## first building - windows - fourth row - ends here
##*************************************************

##*************************************************
## first building - windows - fifth row - starts here
### first window of fifth row - starts here
plt.plot(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)

plt.fill(
    [1.5, 1.95, 1.95, 1.5, 1.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### first window of fifth row - ends here
### second window of fifth row - starts here
plt.plot(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)
plt.fill(
    [2.5, 2.95, 2.95, 2.5, 2.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### second window of fifth row - ends here
### third window of fifth row - starts here
plt.plot(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)
plt.fill(
    [3.5, 3.95, 3.95, 3.5, 3.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### third window of fifth row - ends here
### fourth window of fifth row - starts here
plt.plot(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = 'black'
)

plt.fill(
    [4.5, 4.95, 4.95, 4.5, 4.5],
    [9.75, 9.75, 10.25, 10.25, 9.75],
    color = '#04BEF9'
)
### fourth window of fifth row - ends here
## first building - windows - fifth row - ends here
##*************************************************
# first building from left side - ends here


# second building - starts here
## second building outline - starts here
plt.plot(
    [5.8, 10, 10, 5.8, 5.8],
    [4.5, 4.5, 16, 16, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [5.8, 10, 10, 5.8],
    [4.5, 4.5, 16, 16],
    color = '#767676'
)
## second building outline - ends here

## second building roof - starts here
plt.fill(
    [5.8, 10, 9.8, 6, 5.8],
    [16, 16, 16.2, 16.2, 16],
    color = 'black'
)

plt.fill(
    [5.8, 10, 9.8, 6, 5.8],
    [16, 16, 16.2, 16.2, 16],
    color = '#D0E5E8'
)
## second building roof - ends here

## second building door - starts here
plt.plot(
    [8, 9, 9, 8, 8],
    [4.5, 4.5, 6, 6, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [8, 9, 9, 8, 8],
    [4.5, 4.5, 6, 6, 4.5],
    color = '#383838'
)
## second building door - ends here
## second building windows - starts here
### second building first row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [6.5, 6.5, 7.4, 7.4, 6.5],
    color = '#01C0F6'
)
### second building first row windows - starts here
### second building second row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [8.5, 8.5, 9.4, 9.4, 8.5],
    color = '#01C0F6'
)
### second building second row windows - ends here
### second building third row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [10.5, 10.5, 11.4, 11.4, 10.5],
    color = '#01C0F6'
)
### second building third row windows - ends here
### second building fourth row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [12.5, 12.5, 13.4, 13.4, 12.5],
    color = '#01C0F6'
)
### second building fourth row windows - ends here
### second building fifth row windows - starts here
plt.plot(
    [6.2, 7, 7, 6.2, 6.2],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = 'black'
)

plt.fill(
    [6.2, 7, 7, 6.2, 6.2],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = '#01C0F6'
)

plt.plot(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = 'black'
)

plt.fill(
    [7.5, 8.3, 8.3, 7.5, 7.5],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = '#01C0F6'
)

plt.plot(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = 'black'
)

plt.fill(
    [8.8, 9.6, 9.6, 8.8, 8.8],
    [14.5, 14.5, 15.4, 15.4, 14.5],
    color = '#01C0F6'
)
### second building fifth row windows - ends here
## second building windows - ends here
# second building - ends here

# fourth building - starts here
## fourth building outline - starts here
plt.plot(
    [10, 15, 15, 10, 10],
    [4.5, 4.5, 20, 20, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [10, 15, 15, 10, 10],
    [4.5, 4.5, 20, 20, 4.5],
    color = '#253D6D'
)
## fourth building outline - ends here

## fourth building horizental lines - starts here
plt.plot(
    [10, 15],
    [6, 6],
    color = 'black', lw = 2
)

plt.plot(
    [10, 15],
    [7.5, 7.5],
    color = 'black', lw = 2
)
plt.plot(
    [10, 15],
    [9, 9],
    color = 'black', lw = 2
)

plt.plot(
    [10, 15],
    [10.5, 10.5],
    color = 'black', lw = 2
)

plt.plot(
    [10, 15],
    [12, 12],
    color = 'black', lw = 2
)

plt.plot(
    [10, 15],
    [13.5, 13.5],
    color = 'black', lw = 2
)
plt.plot(
    [10, 15],
    [15, 15],
    color = 'black', lw = 2
)
plt.plot(
    [10, 15],
    [16.5, 16.5],
    color = 'black', lw = 2
)
plt.plot(
    [10, 15],
    [18, 18],
    color = 'black', lw = 2
)

plt.plot(
    [10, 15],
    [19.5, 19.5],
    color = 'black', lw = 2
)
## fourth building horizental lines - ends here

## fourth building vertical lines - starts here
plt.plot(
    [11, 11],
    [4.5, 20],
    color = 'black', lw = 2
)
plt.plot(
    [12, 12],
    [4.5, 20],
    color = 'black', lw = 2
)
plt.plot(
    [13, 13],
    [4.5, 20],
    color = 'black', lw = 2
)
plt.plot(
    [14, 14],
    [4.5, 20],
    color = 'black', lw = 2
)
## fourth building vertical lines - ends here
## fourth building door - starts here
plt.fill(
    [12, 13, 13, 12, 12],
    [4.5, 4.5, 6, 6, 4.5],
    color = '#6279A2'
)
## fourth building door - ends here
# fourth building - ends here

# sixth building - starts here
## sixth building outline - starts here
plt.plot(
    [15, 16.5, 16.5, 15, 15],
    [16, 16, 13.0, 13.0, 16],
    color = 'black'
)
plt.fill(
    [15, 16.5, 16.5, 15, 15],
    [16, 16, 13.0, 13.0, 16],
    color = '#AEAEAE'
)

## sixth building outline - ends here

## sixth building roof - starts here
plt.plot(
    [15, 16.8, 16.5, 15, 15],
    [16, 16, 16.5, 16.5, 16],
    color = 'black',
    lw = 2
)
plt.fill(
    [15, 16.8, 16.5, 15, 15],
    [16, 16, 16.5, 16.5, 16],
    color = '#FD9427'
)

## sixth building roof - ends here

## sixth building windows - starts here
plt.plot(
    [15.3, 16.1, 16.1, 15.3, 15.3],
    [14, 14, 14.5, 14.5, 14],
    color = 'black', lw = 2
)

plt.fill(
    [15.3, 16.1, 16.1, 15.3, 15.3],
    [14, 14, 14.5, 14.5, 14],
    color = '#00BAF1'
)

plt.plot(
    [15.3, 16.1, 16.1, 15.3, 15.3],
    [15, 15, 15.5, 15.5, 15],
    color = 'black', lw = 2
)

plt.fill(
    [15.3, 16.1, 16.1, 15.3, 15.3],
    [15, 15, 15.5, 15.5, 15],
    color = '#00BAF1'
)
## sixth building windows - ends here
# sixth building - ends here


# fifth building - starts here
## fifth building outline - starts here
plt.plot(
    [15, 19.8, 19.8, 15, 15],
    [4.5, 4.5, 13, 13, 4.5],
    color = 'black', lw = 2
)

plt.fill(
    [15, 19.8, 19.8, 15, 15],
    [4.5, 4.5, 13, 13, 4.5],
    color = '#7B7B7B'
)
## fifth building outline - ends here

## fifth building roof - starts here
plt.plot(
    [15, 19.8, 19.5, 15.2, 15],
    [13, 13, 13.3, 13.3, 13],
    color = 'black'
)
plt.fill(
    [15, 19.8, 19.5, 15.2, 15],
    [13, 13, 13.3, 13.3, 13],
    color = 'black'
)

## fifth building roof - ends here

## fifth building door - starts here
plt.plot(
    [17, 18, 18, 17, 17],
    [4.5, 4.5, 6, 6, 4.5],
    color = 'black'
)
plt.fill(
    [17, 18, 18, 17, 17],
    [4.5, 4.5, 6, 6, 4.5],
    color = '#3B3B3B'
)
## fifth building door - ends here

## fifth building windows - starts here
### fifth building windows first row - starts here
plt.plot(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = 'black', lw = 2
)

plt.fill(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = '#00BEF4'
)

plt.plot(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = 'black', lw = 2
)

plt.fill(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = '#00BEF4'
)

plt.plot(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = 'black', lw = 2
)

plt.fill(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = '#00BEF4'
)

plt.plot(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = 'black', lw = 2
)

plt.fill(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = '#00BEF4'
)

plt.plot(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = 'black', lw = 2
)

plt.fill(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [6.2, 6.2, 6.7, 6.7, 6.2],
    color = '#00BEF4'
)
### fifth building windows first row - ends here

### fifth building windows second row - starts here
plt.plot(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [7.2, 7.2, 7.7, 7.7, 7.2],
    color = 'black', lw = 2
)

plt.fill(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [7.2, 7.2, 7.7, 7.7, 7.2],
    color = '#00BEF4'
)

plt.plot(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [7.2, 7.2, 7.7, 7.7, 7.2],
    color = 'black', lw = 2
)

plt.fill(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [7.2, 7.2, 7.7, 7.7, 7.2],
    color = '#00BEF4'
)

plt.plot(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [7.2, 7.2, 7.7, 7.7, 7.2],
    color = 'black', lw = 2
)

plt.fill(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [7.2, 7.2, 7.7, 7.7, 7.2],
    color = '#00BEF4'
)

plt.plot(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [7.2, 7.2, 7.7, 7.7, 7.2],
    color = 'black', lw = 2
)

plt.fill(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [7.2, 7.2, 7.7, 7.7, 7.2],
    color = '#00BEF4'
)

plt.plot(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [7.2, 7.2, 7.7, 7.7, 7.2],
    color = 'black', lw = 2
)

plt.fill(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [7.2, 7.2, 7.7, 7.7, 7.2],
    color = '#00BEF4'
)
### fifth building windows second row - ends here

### fifth building windows third row - starts here
plt.plot(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [8.2, 8.2, 8.7, 8.7, 8.2],
    color = 'black', lw = 2
)

plt.fill(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [8.2, 8.2, 8.7, 8.7, 8.2],
    color = '#00BEF4'
)

plt.plot(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [8.2, 8.2, 8.7, 8.7, 8.2],
    color = 'black', lw = 2
)

plt.fill(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [8.2, 8.2, 8.7, 8.7, 8.2],
    color = '#00BEF4'
)

plt.plot(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [8.2, 8.2, 8.7, 8.7, 8.2],
    color = 'black', lw = 2
)

plt.fill(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [8.2, 8.2, 8.7, 8.7, 8.2],
    color = '#00BEF4'
)

plt.plot(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [8.2, 8.2, 8.7, 8.7, 8.2],
    color = 'black', lw = 2
)

plt.fill(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [8.2, 8.2, 8.7, 8.7, 8.2],
    color = '#00BEF4'
)

plt.plot(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [8.2, 8.2, 8.7, 8.7, 8.2],
    color = 'black', lw = 2
)

plt.fill(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [8.2, 8.2, 8.7, 8.7, 8.2],
    color = '#00BEF4'
)
### fifth building windows third row - ends here
### fifth building windows fourth row - starts here
plt.plot(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [9.2, 9.2, 9.7, 9.7, 9.2],
    color = 'black', lw = 2
)

plt.fill(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [9.2, 9.2, 9.7, 9.7, 9.2],
    color = '#00BEF4'
)

plt.plot(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [9.2, 9.2, 9.7, 9.7, 9.2],
    color = 'black', lw = 2
)

plt.fill(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [9.2, 9.2, 9.7, 9.7, 9.2],
    color = '#00BEF4'
)

plt.plot(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [9.2, 9.2, 9.7, 9.7, 9.2],
    color = 'black', lw = 2
)

plt.fill(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [9.2, 9.2, 9.7, 9.7, 9.2],
    color = '#00BEF4'
)

plt.plot(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [9.2, 9.2, 9.7, 9.7, 9.2],
    color = 'black', lw = 2
)

plt.fill(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [9.2, 9.2, 9.7, 9.7, 9.2],
    color = '#00BEF4'
)

plt.plot(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [9.2, 9.2, 9.7, 9.7, 9.2],
    color = 'black', lw = 2
)

plt.fill(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [9.2, 9.2, 9.7, 9.7, 9.2],
    color = '#00BEF4'
)
### fifth building windows fourth row - ends here
### fifth building windows fifth row - starts here
plt.plot(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [10.2, 10.2, 10.7, 10.7, 10.2],
    color = 'black', lw = 2
)

plt.fill(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [10.2, 10.2, 10.7, 10.7, 10.2],
    color = '#00BEF4'
)

plt.plot(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [10.2, 10.2, 10.7, 10.7, 10.2],
    color = 'black', lw = 2
)

plt.fill(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [10.2, 10.2, 10.7, 10.7, 10.2],
    color = '#00BEF4'
)

plt.plot(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [10.2, 10.2, 10.7, 10.7, 10.2],
    color = 'black', lw = 2
)

plt.fill(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [10.2, 10.2, 10.7, 10.7, 10.2],
    color = '#00BEF4'
)

plt.plot(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [10.2, 10.2, 10.7, 10.7, 10.2],
    color = 'black', lw = 2
)

plt.fill(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [10.2, 10.2, 10.7, 10.7, 10.2],
    color = '#00BEF4'
)

plt.plot(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [10.2, 10.2, 10.7, 10.7, 10.2],
    color = 'black', lw = 2
)

plt.fill(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [10.2, 10.2, 10.7, 10.7, 10.2],
    color = '#00BEF4'
)
### fifth building windows fifth row - ends here
### fifth building windows sixth row - starts here
plt.plot(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [11.2, 11.2, 11.7, 11.7, 11.2],
    color = 'black', lw = 2
)

plt.fill(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [11.2, 11.2, 11.7, 11.7, 11.2],
    color = '#00BEF4'
)

plt.plot(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [11.2, 11.2, 11.7, 11.7, 11.2],
    color = 'black', lw = 2
)

plt.fill(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [11.2, 11.2, 11.7, 11.7, 11.2],
    color = '#00BEF4'
)

plt.plot(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [11.2, 11.2, 11.7, 11.7, 11.2],
    color = 'black', lw = 2
)

plt.fill(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [11.2, 11.2, 11.7, 11.7, 11.2],
    color = '#00BEF4'
)

plt.plot(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [11.2, 11.2, 11.7, 11.7, 11.2],
    color = 'black', lw = 2
)

plt.fill(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [11.2, 11.2, 11.7, 11.7, 11.2],
    color = '#00BEF4'
)

plt.plot(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [11.2, 11.2, 11.7, 11.7, 11.2],
    color = 'black', lw = 2
)

plt.fill(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [11.2, 11.2, 11.7, 11.7, 11.2],
    color = '#00BEF4'
)
### fifth building windows sixth row - ends here
### fifth building windows seven row - starts here
plt.plot(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [12.2, 12.2, 12.7, 12.7, 12.2],
    color = 'black', lw = 2
)

plt.fill(
    [15.2, 15.7, 15.7, 15.2, 15.2],
    [12.2, 12.2, 12.7, 12.7, 12.2],
    color = '#00BEF4'
)

plt.plot(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [12.2, 12.2, 12.7, 12.7, 12.2],
    color = 'black', lw = 2
)

plt.fill(
    [16.2, 16.7, 16.7, 16.2, 16.2],
    [12.2, 12.2, 12.7, 12.7, 12.2],
    color = '#00BEF4'
)

plt.plot(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [12.2, 12.2, 12.7, 12.7, 12.2],
    color = 'black', lw = 2
)

plt.fill(
    [17.2, 17.7, 17.7, 17.2, 17.2],
    [12.2, 12.2, 12.7, 12.7, 12.2],
    color = '#00BEF4'
)

plt.plot(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [12.2, 12.2, 12.7, 12.7, 12.2],
    color = 'black', lw = 2
)

plt.fill(
    [18.2, 18.7, 18.7, 18.2, 18.2],
    [12.2, 12.2, 12.7, 12.7, 12.2],
    color = '#00BEF4'
)

plt.plot(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [12.2, 12.2, 12.7, 12.7, 12.2],
    color = 'black', lw = 2
)

plt.fill(
    [19.2, 19.6, 19.6, 19.2, 19.2],
    [12.2, 12.2, 12.7, 12.7, 12.2],
    color = '#00BEF4'
)
### fifth building windows seven row - ends here
## fifth building windows - ends here
# fifth building - ends here

plt.xlim(1, 20)
plt.ylim(1, 20)
plt.axis('off')
plt.show()
In [ ]:
 

Machine Learning

  1. Deal Banking Marketing Campaign Dataset With Machine Learning

TensorFlow

  1. Difference Between Scalar, Vector, Matrix and Tensor
  2. TensorFlow Deep Learning Model With IRIS Dataset
  3. Sequence to Sequence Learning With Neural Networks To Perform Number Addition
  4. Image Classification Model MobileNet V2 from TensorFlow Hub
  5. Step by Step Intent Recognition With BERT
  6. Sentiment Analysis for Hotel Reviews With NLTK and Keras
  7. Simple Sequence Prediction With LSTM
  8. Image Classification With ResNet50 Model
  9. Predict Amazon Inc Stock Price with Machine Learning
  10. Predict Diabetes With Machine Learning Algorithms
  11. TensorFlow Build Custom Convolutional Neural Network With MNIST Dataset
  12. Deal Banking Marketing Campaign Dataset With Machine Learning

PySpark

  1. How to Parallelize and Distribute Collection in PySpark
  2. Role of StringIndexer and Pipelines in PySpark ML Feature - Part 1
  3. Role of OneHotEncoder and Pipelines in PySpark ML Feature - Part 2
  4. Feature Transformer VectorAssembler in PySpark ML Feature - Part 3
  5. Logistic Regression in PySpark (ML Feature) with Breast Cancer Data Set

PyTorch

  1. Build the Neural Network with PyTorch
  2. Image Classification with PyTorch
  3. Twitter Sentiment Classification In PyTorch
  4. Training an Image Classifier in Pytorch

Natural Language Processing

  1. Spelling Correction Of The Text Data In Natural Language Processing
  2. Handling Text For Machine Learning
  3. Extracting Text From PDF File in Python Using PyPDF2
  4. How to Collect Data Using Twitter API V2 For Natural Language Processing
  5. Converting Text to Features in Natural Language Processing
  6. Extract A Noun Phrase For A Sentence In Natural Language Processing