A Pen by PJ Trainor on CodePen.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# copy/paste everything below here | |
# -------------------------------- | |
import matplotlib.pyplot as plt | |
# ggplot styles | |
plt.style.use('ggplot') | |
# ggplot first six default colors | |
_gg_colors = ["#F8766D", "#B79F00", "#00BA38", "#00BFC4", "#619CFF", "#F564E3"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
class PJDF(pd.DataFrame): | |
def __init__(self, *args, **kwargs): | |
super(PJDF, self).__init__(*args, **kwargs) | |
@property | |
def _constructor(self): | |
return PJDF |
Note this is a work in progress. The most updated version is on my github.
Directors wear many hats when making a film. They work with the actors, the producers, the cinematographers, the editors, and pretty much anyone else on the set.
As one might guess, directors are not all the same. They have varied careers and styles that show in the credits. My goal was to make a snapshot of several directors, to give an impression as to what they did in the film. Each dot represents the role a director played in a film, going from top to bottom it's director, writer, editor, producer, actor.
Hover over a dot to get more info about that film.