Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Dec 02 2020 08:54
    samuelsinayoko opened #40
  • Aug 24 2020 07:48
    cool-RR opened #39
  • Aug 21 2018 21:43
    kdorr opened #38
  • Aug 21 2018 21:40
    kdorr opened #37
  • Aug 21 2018 21:40
    kdorr opened #36
  • Aug 21 2018 21:39
    kdorr opened #35
  • Aug 21 2018 18:50
    palnabarun synchronize #34
  • Aug 21 2018 18:28
    palnabarun synchronize #34
  • Aug 21 2018 04:36
    palnabarun synchronize #18
  • Aug 21 2018 01:27
    palnabarun opened #34
  • Aug 21 2018 01:24
    palnabarun assigned #33
  • Aug 21 2018 01:24
    palnabarun opened #33
  • Aug 20 2018 23:55
    kdorr synchronize #24
  • Aug 20 2018 23:52
    kdorr synchronize #26
  • Aug 20 2018 23:51
    kdorr synchronize #23
  • Aug 20 2018 23:47
    kdorr synchronize #25
  • Aug 20 2018 22:22
    kdorr synchronize #22
  • Aug 20 2018 21:49
    kdorr synchronize #24
  • Aug 20 2018 21:36
    kdorr synchronize #26
  • Aug 20 2018 00:03
    story645 closed #21
kdorr
@kdorr
I can't do Saturday either, but I can still do the original meeting time.
hannah
@story645
So let's do the original meeting time withoit @tacaswell - he's still available via gitter as needed
Nabarun Pal
@palnabarun
Cool
kdorr
@kdorr
Sounds good!
Nabarun Pal
@palnabarun
Please give me some time. I don't have Chrome on this machine.
hannah
@story645
k
Nabarun Pal
@palnabarun

Altair way

alt.Chart(cars).mark_point().encode(
    x='Acceleration:Q',
    y='Miles_per_Gallon:Q',
    color='Origin:N'
)

Matplotlib Way

for car in cars['Origin'].unique():
    d_ = cars[cars['Origin'] == car]
    plt.scatter(data=d_, x='Acceleration', y='Miles_per_Gallon')

Is it the above correct for MPL or is there a better way?

hannah
@story645
plt.scatter(data=d_, x='Acceleration', y='Miles_per_Gallon', color="continuous_var")
make a legend:
patches = [mpatches.Patch(color=c, label=l) for c, l in zip(colors, labels)]
ax3.legend(patches, labels, ncol=1, loc=6)
hannah
@story645
matplotlib/matplotlib#4369
Nabarun Pal
@palnabarun

Some excerpts from the notes that I make

Altair Basic Encoding Options

  • Position Channels
    • x
    • y
    • x2
    • y2
    • longitude
    • latitude
    • longitude2
    • latitude2
  • Mark Channels
    • Color
    • Fill
    • Shape
    • Opacity
    • Size
    • Stroke
  • Text and Tooltip Channels
    • text
    • key
    • tooltip
  • Hyperlink Channel
    • href
  • Level of Detail Channel
    • detail
  • Order Channel
    • order
  • Facet Channel
    • column
    • row

Detailed Ref

hannah
@story645
for a first pass, support Position (no geo) channels, and Mark channels that have counterparts in matplotlib (throw NotImplemented Errors for encodings that are not yet supported like opacity)
hannah
@story645
hi ya'll, hows' it going?
kdorr
@kdorr
It's going pretty well. I have the convert_quantitative() function pretty much working and done. I haven't implemented support for aggregate functions yet. Right now, I'm working on adding the convert_temporal() function. I'm not very happy with the organization of my code right now, but I'm working to just get something written first and then I'll go back and refactor.
hannah
@story645
Oh! Forgot to tell you but I expect aggregate functions to happen way down the timeline
so ok to not worry about 'em/throw a not implemented error for now
olease open a PR on convert_quant
kdorr
@kdorr
I’ve made PRs for convert quant and convert temporal. Should I refactor/clean up what I have, or is there something else I should work on?
hannah
@story645
awesome. @tacaswell or I will figure out how to get travis to work
does this week Friday at 11:00 work for @/all ?
kdorr
@kdorr
I'm out of town on Friday.
hannah
@story645
ok, will put out a doodle for tomorrow and thursday
hannah
@story645
also @kdorr and @palnabarun the next step is getting the convertors working with an axis - so setting up ticks and the like for the data
hannah
@story645
sorry, forgot to give you the hangout
Nabarun Pal
@palnabarun
Is the meeting now?
hannah
@story645
should be
Nabarun Pal
@palnabarun
Okay. Joining.
hannah
@story645
did doodle not send you an invite?
kdorr
@kdorr
I didn't get an invite.
hannah
@story645
eek, sorry!
Nabarun Pal
@palnabarun
No.
hannah
@story645
also give me a minute 'cause I can't seem to get anything working
@palnabarun try again
Nabarun Pal
@palnabarun
I am trying to get in using my Gmail ID. My university account doesnot not support Meet.
hannah
@story645
ok, the metting got rescheduled for 1:40 and I'm gonna see if I can switch to hangouts 'cause meet is annoying
Nabarun Pal
@palnabarun
1:40EDT?
hannah
@story645
yes
Nabarun Pal
@palnabarun
Okay
hannah
@story645
thanks
hannah
@story645
let me know if it doesn't work
hannah
@story645
#5 is breaking for the same reasons as @kdorr 's PRs
Nabarun Pal
@palnabarun
I think #5 is breaking because of reduced code coverage.