Skip to content

Blog - what's supported #38

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
92 changes: 92 additions & 0 deletions _posts/2018-08-21-what-is-supported.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
---
layout: post
title: "What's supported in mpl-altair"
date: 2018-08-21 4:15:00 -0500
author: "Kimberly Orr"
categories: about
tags: "about"
excerpt_separator: <!--read more-->
---

# What is supported in mpl-altair?

**Supported Marks**
- mark_circle
- mark_point
- mark_square
- mark_line


**Supported Encodings**

channel | supported marks
:--- | :---
x | circle, point, square, line
y | circle, point, square, line
color | circle*, point*, square*, line
fill | point*, line
size |
stroke | line

*Only quantitative and temporal data are supported for these encodings.

**Supported Axis modifications**

ex:
```python
alt.Chart(df).mark_point().encode(
alt.X('a:Q', axis=alt.Axis(format='.2g'))
)
```

attribute | support notes
:--- | :---
domain |
format | Supported
grid |
labelAngle | supported?
labelBound |
labelFlush |
labelOverlap |
labelPadding |
labels |
maxExtent |
minExtent |
offset |
orient |
position |
tickCount | Supported
tickSize |
ticks |
title |
titleMaxLength |
titlePadding |
values | Supported
zindex |

**Supported Scale modifications**

ex:
```python
alt.Chart(df).mark_point().encode(
alt.X('a:Q', scale=alt.Scale(type='log'))
)
```

attribute | support notes
--- | ---
base | supported
clamp |
domain | supported
exponent |
interpolate |
nice |
padding |
paddingInner |
paddingOuter |
range |
rangeStep |
round |
scheme |
type | linear, log, time scales supported
zero | supported