Skip to content

Blog - basic scatter plot#22

Open
kdorr wants to merge 4 commits into
matplotlib:gh-pagesfrom
kdorr:blog-scatter-basic
Open

Blog - basic scatter plot#22
kdorr wants to merge 4 commits into
matplotlib:gh-pagesfrom
kdorr:blog-scatter-basic

Conversation

@kdorr
Copy link
Copy Markdown
Collaborator

@kdorr kdorr commented Aug 15, 2018

This is the scatter plot section from the blog post Nabarun and I were working on.

Copy link
Copy Markdown
Member

@story645 story645 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really clean, but maybe add a line after the convert to show the power/benefit of converting the Altair object into an mpl one?

Comment thread _posts/altair-to-mpl-scatter-part1.md Outdated
layout: post
title: "Making a Scatter Plot - Part 1"
date: 2018-08-15 15:00:00 -0500
author: "Kimberly Orr and Nabarun Pal"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think Jekyll has a format for multiple authors

Comment thread _posts/altair-to-mpl-scatter-part1.md Outdated
---

# Making a Scatter Plot
This post will walk you through making a simple scatter plot in Altair, Matplotlib, and mpl-altair.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think drop the word simple

Comment thread _posts/altair-to-mpl-scatter-part1.md Outdated

# Making a Scatter Plot
This post will walk you through making a simple scatter plot in Altair, Matplotlib, and mpl-altair.
We'll examine the cars dataset:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a sentence explaining the cars dataset or link to it?

Comment thread _posts/altair-to-mpl-scatter-part1.md Outdated

## mpl-altair
To produce the mpl-altair plot, create the Altair chart and then pass it to
mplaltair's `convert()` function. The resulting fig and ax are Matplotlib plots.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Matplotlib objects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants