Skip to content

Tag: python

Seaborn expands X axis dates back to year 2000

I have a pandas dataframe that contains dates starting at 2017-09-01 (which I believe is in the correct format for a dataframe date). But the X axis is expanded dramatically. I do not have any outliers on the LHS. Answer Pandas and matplotlib’s dates sometimes don’t go along well. You can set the …

How do I pass variables to scss processor?

My current set up is Front-end: VueJS Backend Python, Tornado Vue is used using the cdn for indivudual static templates. Tornado serves the templates. I’m using the python scss library to compile the scss, that part of pretty straight forward. I have two config.py files that hold configurations with two…